File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
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