About update

1-10 of 200Refresh
Manual
173

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
173

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
159

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
144

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
22

Locking in JPA

update collisions resulting from simultaneous updates to the same data by two concurrent users. Locking ... that has to be updated or deleted is checked. An exception is thrown if it is found out that an update is being performed on an old version of a database object, for which another update has already been committed