A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
EJB and other Java EE Technologies
insert null in FK field (set null in cmr field ) CMP 2.0
Joined: Jan 15, 2003
Jul 18, 2008 01:34:00
How can i store null value in cmr field which has many to one relationship with other entity, null values are allowed in fk field.
Should i set null in cmr field or should i not call setter method on cmr field to store null?
I agree. Here's the link:
subject: insert null in FK field (set null in cmr field ) CMP 2.0
What if the PK is also a FK ???
CMR vs. Explicit FK mapping
CMR Relations one-to-many
Confused a little, alot
Container trying to save CMR field
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014