Hallo out there,
I am using JBoss 3.2.6 (With Exclipse 3.0.1 and JBoss IDE although these have probably nothing to do with it).
I have created a CMP Entity bean witch is reentrant (In the deployment descriptor) and which has a one to many relation on itself (In order to create a tree-like parent-child structure).
When I create my root Leaf (this is the name of the EJB Bean), I set the parent to null (with the setParent remote interface method, indicating that this is not a child as it has no parent)
Then when I execute (in the same session bean method (and transaction) as in which I created the root
Leaf parent = root.getParent();
while (parent != null)
{
System.out.println(" This Leaf has PK: " + parent.getPkLeafId());
parent = parent.getParent();
}The loop never ends. I always get my own root bean back from getParent() until my transaction timeouts.
Has anyone an Idea on what is happening here.
PS: This same java code works fine on WebSphere!
Thanks for any information
Percy Christian
_________________________________________________________________ The very last last minute tickets� http://connections.msn.be/?page=lm_NL
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
