Hello eveyone:
    Please help me: I want to use CMP 1:N relationship and have written "abstract 
Collection getXxx" and "abstract void setXxx(Collection xxx)".
    The getter work well but setter seems never take effect. So I did a experiment 
that manual insert into database some data to make a relationship(set foreign key 
directly) and invoked setter immediately following getter like this:
    Collection coll=XXXlocal.getXxx();
    XXXLocal.setXxx(coll);

to my surprise, all relationship I made manually were gone(foreign key in database 
changed to null).

It's my first time to use CMP 1:N relationship, anyone help to tell me what I am wrong.


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to