[jboss-user] [EJB 3.0] - Problems with self referencing entites

martin ganserer do-not-reply at jboss.com
Mon Nov 27 02:13:26 EST 2006


Hello,

I have got an entity bean let's call it users. This entity has a many to many relationship to other user entity beans.

Basically everything works fine but I have got a problem when I want to get really all users of one user.
(A user consists of many users and one of these users can have further users and so on)


I really tried everything:
- setup an ejbQL statement -> didn't work
- defining a stateless session bean that performs recursive calls -> this failed because SLSB might have problems with recursive invocations.

Is there anybody that faces the same problems or might have found a solution for my problem? To be honest I really don't care about the implementation itself. It must "only" work!

Regards


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

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



More information about the jboss-user mailing list