Hi,
        I'm having problems with some of my entity beans...  I have a bean that I 
lookup we'll call it entity bean "A"...  So bean "A" has a one-way many-to-many 
relationship with bean "B"...  thus, "A" has the following abstract methods:

public abstract Collection getBs();
public abstract void setBs(Collection bc);

I call getBs from my program and then add objects to the collection and call setBs 
with my altered Collection (to place it back into the database)...  The problem is 
that no matter what I do, the Collection always comes back from the database with only 
one Object in it...  If someone could help me it would be great...  Thanks.

Blair

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

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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to