ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
205

Bulk update of embedded entities in linked list

Hi, I'm trying to do a bulk update of a column in an embedded entity, but I end up with a query ... . Example: int updateCount = em.createQuery( "UPDATE EntityA a " + "SET a.EntityBList.Column1 = :value ... " exception. How can I do update statements like that? Kind Regards, Roland r.steber Roland JPA Update queries
191

Bulk Delete and Update - best practice?

. The attachment also contains an update test which has similar memory problems. I'm running both tests with the default objectdb.conf. In general is an UPDATE/DELETE statement the most efficient way to update/remove a large number of objects? I've had success with the "drop" keyword in
68

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
64

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
58

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 <schema> element demonstrates the supported schema update
17

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
17

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
17

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
17

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
17

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support