according to ejb2.0's definition, cmr setter methods can only be called
in ejbPostCreate. But if a foreign key can not be null, then there must
be a way to pass that key in ejbCreate to create an entity bean identity
before go to ejbPostCreate to set the cmr info. Actually, I got a
database error saying: can not insert a record into the db cuz that
foreign key field is null.

How to handle this?

Thanks.

Hongyu
----
This list is cross-posted to two mail lists.  To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe ejb-container-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".

Reply via email to