Ionel,
What we sometimes do is add non abstract getter/setters to the Entity 
bean. These normally do type conversions from our own application types to 
the JDBC types. Of course, you could add your own code here to convert say 
from an int or string representing a foreign key to an external entity to 
the EntityLocal object. I'm not sure if this will work for you either 
because of what the spec says.

Which brings me to my final thought. It sounds as if you have partitioned 
your JAR wrongly. You obviously have a collection of Tables with foreign 
key relationships between them. This should be a closed set of 
relationships. You should create your EJB jar to include entities for all 
these tables. No doubt you explained why you didn't do this in your 
original email (mea culpa - I didn't read it all).
Ciao,
Jonathan O'Connor
XCOM Dublin





Ionel Gardais <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
26.06.2003 10:30
Please respond to xdoclet-user

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        Re: [Xdoclet-user] [ SOS ] ejb ref is hell (prayer to the 
xdoclet gurus)


thanks Jonathan

Do you know how to solve the problem of the include source that are 
processed by the deploymentdescriptor and the jboss tasks ?

In a CMP bean, can I add methods to perform a kind of "manual managed 
relationship" (so the CMP is half CMP and half handmade relationship) ?

thanks,
ionel



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user





-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to