This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler 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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "insertable = true in ID" Watch "insertable = true in ID" New topic

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:

I agree. Here's the link:
subject: insertable = true in ID
It's not a secret anymore!