This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Storing foreign key as NULL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Storing foreign key as NULL" Watch "Storing foreign key as NULL" New topic
Author

Storing foreign key as NULL

vinora kumar
Greenhorn

Joined: Dec 15, 2008
Posts: 26

I want to store foreign key as NULL.Is it poosible with Hibernate

vino
Rahul Babbar
Ranch Hand

Joined: Jun 28, 2008
Posts: 210
yes, it is...


Rahul Babbar
vinora kumar
Greenhorn

Joined: Dec 15, 2008
Posts: 26
yes i got it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Storing foreign key as NULL
 
Similar Threads
@mappedBy
difference between foreign key & Join
Game on SQL
WA #1.....word association
jforum_users.user_active vs jforum_users.deleted