A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
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?
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: insert null in FK field (set null in cmr field ) CMP 2.0
Container trying to save CMR field
What if the PK is also a FK ???
Confused a little, alot
CMR Relations one-to-many
CMR vs. Explicit FK mapping
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015