wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes insert null in FK field (set null in cmr field ) CMP 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "insert null in FK field (set null in cmr field ) CMP 2.0" Watch "insert null in FK field (set null in cmr field ) CMP 2.0" New topic
Author

insert null in FK field (set null in cmr field ) CMP 2.0

hassan mahmood
Greenhorn

Joined: Jan 15, 2003
Posts: 17
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: http://aspose.com/file-tools
 
subject: insert null in FK field (set null in cmr field ) CMP 2.0
 
Similar Threads
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