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 insertable = true in ID 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 "insertable = true in ID" Watch "insertable = true in ID" New topic
Author

insertable = true in ID

nimo frey
Ranch Hand

Joined: Jun 28, 2008
Posts: 580
Does it makes sense to have the "insertable = true, updatable = true" in a PrimaryKey (ID) ?:



Or should I do that:

 
 
subject: insertable = true in ID
 
Similar Threads
Outer join between 3 entities in HQL
Getting a 'BatchUpdateException' error message
Simple JOIN in JPA proving difficult
insertable, updatable, unique within ID?
using 2 @OnetoMany annoations in one Entity Class