About bulk update

31-40 of 200Refresh
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
Forum
5

Not able to update records

Hi,   I am tring to update the simple object by using Update query by i am getting following exception [ObjectDB 2.4.4_15] javax.persistence.TransactionRequiredException Attempt to run update query ... ){   StringBuffer sqlQuery = new StringBuffer("UPDATE UserCredential p ");   sqlQuery.append(" SET
Forum
5

Entity Update - Is the documentation up to date?

of the documentation.  Turns out I've been doing two things that http://www.objectdb.com/java/jpa/persistence/update ... seem to be merged automatically. The more conventional way is to update entities within an active transaction, or update entities outside the transaction and then merge them within an active
Forum
5

OutOfMemoryError on search after update on DB created with DB Doctor

about 540 thousand records. At this stage there is no problem when searching and updating. 3. We run ... . Try a searching and all appears to be fine. 6. Do an update, any update to any record and all appears to be fine. 7. Do a search after the update, any search and CPU use shoots up to > 100% use
Forum
5

persists and update together ?

UPDATE c=VALUES(a)+VALUES(b);   This query , inserts data or updates if its already available ... available then update if its available, if not add new object to db.   This will make more cycle ... update the object. Without calling find , can we do this ?   Maybe merge instead of persist is what you are looking for. kadirbasol
Forum
5

Update is ignored by ObjectDB

Hi! Sorry for my bad english skills. When I execute fulfilOrder, only Order entity is updated in ... field update:     user.money += item.total with update using a new method in User:     user.addMoney ... ! Automatic update following direct modification of fields is supported by ObjectDB if any
Issue
5

Update query bug

Some code. Problem in UPDATE query. TypedQuery> query = (TypedQuery query2 = (TypedQuery) em.createQuery("UPDATE Person p ... .Main.main(Main.java:22)   This UPDATE query is invalid because JPQL UPDATE queries are limited
Forum
5

Massive schema update

is, Is there any way to migrate all the objects to the new schema after I wrote the shema update? Thanks in advance. Best Regars, Pablo. The effect on performance of schema update (including using the configuration element) is minimal. After an old object is updated and stored in