About bulk update

21-30 of 200Refresh
Manual
5

Storing JPA Entity Objects

too much memory. The sample code above clears the persistence context after every 10,000 persists. Updates are flushed to the database before clearing, otherwise they would be lost. Updates that are sent ... until a commit. With no explicit commit, these updates are later discarded. The combination of clear
Issue
5

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
5

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
5

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

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
5

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
Forum
5

Updating existing persistence entries

: Attempt to reuse an existing primary key value which makes sense to me but I'm missing a em.update() method. I found examples for updating objects in the knowledge base, but they make use of a pe ... that also includes instructions on how to update and object using JPA. Dear support, thank you for your reply
Issue
5

UPDATE query cannot 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
Forum
5

Unexpected behaviour upon update. Bug?

.*; @Entity public class Update implements Serializable { @Id int i; int v; public ... (); em.getTransaction().begin(); Update simple = new Update(); simple.i = 0 ... Update s" , Update.class)             .getResultList().listIterator
Issue
5

Update query null error

it still does not work, using (directly in explorer) Update Action a Set a.transferred = 0 ... Update Action Set transferred = 0 here objectsInCharge.nodePath like "/(PR)W4455NS01 ... %" and a.objectsInCharge.nodePath like "%(PR)70005%" Update Action a Set a.transferred = 0