Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Using nested interfaces
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Piotr Kosmowski  
View profile  
 More options Apr 18 2012, 9:27 am
From: Piotr Kosmowski <kospi...@gmail.com>
Date: Wed, 18 Apr 2012 06:27:21 -0700 (PDT)
Local: Wed, Apr 18 2012 9:27 am
Subject: Using nested interfaces

Is it possible to use nested mapper interface?:

package com.sample.package;

public class SampleService{

  public interface SampleMapper{
    public List<MyEntity> selectAllEntities();
  }

}

And if yes:

   - where to put mapper xml file?
   - what should be the name of xml file?
   - what namespace shoud I put in mapper xml file for interface?

Question also posted on
http://stackoverflow.com/questions/10210315/using-nested-interfaces-a...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eduardo Macarron  
View profile  
 More options Apr 18 2012, 11:49 am
From: Eduardo Macarron <eduardo.macar...@gmail.com>
Date: Wed, 18 Apr 2012 17:49:39 +0200
Local: Wed, Apr 18 2012 11:49 am
Subject: Re: Using nested interfaces
Try with com.sample.package.SampleService$SampleMapper as namespace
and /com/.../SampleService$SampleMapper.xml as xml file.

That should work.

El día 18 de abril de 2012 15:27, Piotr Kosmowski <kospi...@gmail.com> escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Piotr Kosmowski  
View profile  
 More options Apr 20 2012, 2:58 am
From: Piotr Kosmowski <kospi...@gmail.com>
Date: Thu, 19 Apr 2012 23:58:49 -0700 (PDT)
Local: Fri, Apr 20 2012 2:58 am
Subject: Re: Using nested interfaces
 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »