[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Column annotation attributes

lightbulb432 do-not-reply at jboss.com
Tue Oct 3 01:57:08 EDT 2006


I read the following in an EJB3 book on JBoss regarding attributes of the column annotation:

"You can specify whether you want this column to be included in SQL INSERT or UPDATE by using insertable( ) and updatable( ), respectively."

What does that mean? What does the insertable and updatable attributes on the Column annotation mean? It's not intuitive...you'd think that whether something is to be updated or inserted depends on the application code...what does changing these attributes actually do?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975665#3975665

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975665



More information about the jboss-user mailing list