About update

1-10 of 200Refresh
Manual
175

UPDATE SET Queries in JPA/JPQL

Existing entity objects can be updated, as explained in chapter 2, by: Retrieving the entity objects into an EntityManager. Updating the relevant entity object fields within an active transaction. Applying changes to the database by calling the commit method. JPQL UPDATE queries provide
Manual
175

UPDATE SET Queries in JPA/JPQL [2011-11-22]

Existing entity objects can be updated, as explained in chapter 2, by: Retrieving the entity objects into an EntityManager. Updating the relevant entity object fields within an active transaction. Applying changes to the database by calling the commit method. JPQL UPDATE queries provide
Manual
161

Updating JPA Entity Objects

persistence, which means that changes are detected and handled automatically. Transparent Update ... (); The entity object is physically updated in the database when the transaction is committed. If the transaction is rolled back and not committed the update is discarded. On commit the persist operation
Manual
145

Schema Update

ObjectDB tries to apply the specified schema updates every time a database is opened. When using client ... side where the up to date classes are located. The following element demonstrates the supported schema update
JPA Doc
43

Column.updatable

Annotation Element javax.persistence.Column boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 1.0
JPA Doc
43

JoinColumn.updatable

Annotation Element javax.persistence.JoinColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 1.0
JPA Doc
43

MapKeyColumn.updatable

Annotation Element javax.persistence.MapKeyColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 2.0
JPA Doc
43

MapKeyJoinColumn.updatable

Annotation Element javax.persistence.MapKeyJoinColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 2.0
JPA Doc
43

OrderColumn.updatable

Annotation Element javax.persistence.OrderColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 2.0
Manual
40

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.