Hi.

I wrote Entity EJB which access LDAP and I can't make relation between CMP EJB 
accessing DB and this one. Server tries to find an entity in DB but this is LDAP EJB 
so I always get an error. Below are code fragments.

Thanks for any ideas,
Bart

Code from UzytkownikBean (master):


  |     /**
  |      * @ejb.interface-method                                view-type="local"
  |      * 
  |      * @ejb.relation                                                
name="uzytkownik-uzytkownikInfo"
  |      *                                                                             
 role-name="uzytkownik-ma-uzytkownikInfo"
  |      */
  |     public abstract java.util.Collection getInfo();
  |     
  |     /**
  |      * @ejb.interface-method                                view-type="local"
  |      */
  |     public abstract void setInfo(UzytkownikInfoLocal _info);
  | 

Code from UzytkownikInfoBean (source):


  |     /**
  |      * 
  |      * @ejb.interface-method                view-type="local"
  |      * 
  |      * @ejb.relation                                
name="uzytkownik-uzytkownikInfo"
  |      *                                                              
role-name="uzytkownikInfo-nalezydo-uzytkownik"
  |      *                                                              
target-ejb="Uzytkownik"
  |      * 
  |      *  
  |      */
  |     public abstract UzytkownikLocal getUzytkownik();
  | 
  | 
  |     /**
  |      * 
  |      * @param _user UzytkownikBean
  |      * 
  |      * @ejb:interface-method                view-type="local"
  |      */
  |     public abstract void setUzytkownik(UzytkownikLocal _user);      
  | 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828827#3828827

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828827


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to