Advertise with us

Our eBooks

How to choose which column to update with EJB CMP ?

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.

© 2021 mastertheboss.com. All Rights Reserved.

Please publish modules in offcanvas position.