| How to choose which column to update with EJB CMP ? |
| Written by Mark S. | |||||
|
If you need to select which columns need update when executing a CMP statement you might use the "updatable" attribute on the @Column annotation. Setting "updatable" = false will assume that the column is not always included in the SQL update statement. @Column(name="colname" updatable="false") At the moment this feature is available only with TopLink JPA.
JBoss.org Search
Custom Search
Only registered users can write comments!
Powered by !JoomlaComment 3.26
3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved." |


