About bulk update

11-20 of 200Refresh
JPA Doc
28

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
Issue
18

Bulk load of eager mapped by (inverse) relationships

and collection of objects that have to be loaded eagerly are loaded in bulk for better performance ... in a bulk load, which means that every reference requires running a separate query and doing ... ) fields in bulk as well. Bulk load of eager mapped by (inverse) singular references is now supported in build 2.4.4_13. kborkowski lwalkowski
Forum
13

Update more than 10000 entities by an update query fails

Hello, following example tries to update more than 10000 entities by an update query. But only the first 10000 elements are updated. What's wrong?   public class updateMoreThan10000Elements ... .setFlushMode(FlushModeType.AUTO); { String query = "UPDATE " + MyModelElement.class
Forum
10

Updating Entities

with Entities not sending their updates to each other. I have two Entities in question at the moment ... . However, once a change has been made to paygradeDB after this visual load - the Employee table refuses to update ... validation checks and queries apart from UI function handlers. I also know that my code handles updating
Issue
10

JQL-Update Queries fails with activated L2-Cache

When using JQL-Update Queries it is basically not working without calling entityManager.clear ... a container the updated Entities. Scenario 1: Disabled L2 Cache, updating elements using UPDATE-Query ... database - Actual result: No changes are visble. Scenario 2: Disabled L2 Cache, updating elements using
Forum
10

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

NEW ...) and UPDATE JPQL queries on the DB via the RMI interface. What we noticed is that once we UPDATE a record from the client (via the RMI interface), all SELECT NEW ... queries ... via RMI after the update. For example SELECT COUNT(*) ..., or SELECT r FROM ... all work fine.   DB
Forum
10

Unable to execute update query

Hello! I'm trying to do an update query via the explorer to set a new field value for around 400k objects. UPDATE Position p SET p.originalData = null This exception raises when I try ... file that is used in an update query, but the cause is unclear, and according to your report
Forum
10

Cannot save or update entity on Spring App

update() { return em.createQuery("...").executeUpdate() > 0; } } While the fetching ... , nor it refreshes with its new id. And the update method fails because of this: [ObjectDB 2.8.0] javax.persistence.TransactionRequiredException Attempt to run update query when no transaction is active [PMImpl
Issue
9

unclear syntax for update query

the syntax for selective update is unclear as the syntax in the documentation seems to be wrong. Query Update Action Set transferred = 0 where a.objectsInCharge.nodePath like "/(PR)W4455NS01 ... ===================== Unexpected query token 'a' Update Action Set transferred = 0
Forum
9

UPDATE query to set a new field after schema change

) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save ... is still "null" for all instances. How do I initialize the field? You are right. Currently UPDATE queries