posted 17 years ago
As far as I understand we are not supposed to call getters and setters for CMR
fields. If we have a foreign key with not null constrain in database then where we are going to set this foreign key for the entity bean?
We can't call setter for the foreign key in ejbCreate and in ejbPostCreate it's after the insert operation and already late.
thanks
[ February 17, 2007: Message edited by: rez sam ]