A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
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
Confused a little, alot
Container trying to save CMR field
What if the PK is also a FK ???
CMR vs. Explicit FK mapping
CMR Relations one-to-many
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014