About update

141-150 of 200Refresh
Forum
1

ODB IndexActivation NullPointerException

schema change or any other hint? Small update: We think a workarround (but not usefull) is to create ... A. This thread update the Metamodel, and then close the entityManager. (UpdateMetamodel: call for each ... the Metamodel and the IndexActivation. Thank you for the update. We will follow your scenario description
Forum
1

Problem on JPA Merge Entity.

). The statement update don't throw exception. And when i try to reload statement the value i have set before ... update. The statement's property is typed by a class that is a superclass of the newSingleValue ... database, create a new component, save new component, assign component to statement and update
Forum
1

how to operate with same object but two different Thread on database.

Hi,    i have two thread one is for insert data another is for update data but in same object ... , create object of Gettersettetclass, i.e insert operation and pass that object to update.java class. Update.java Here i want create another thread define a method which is for update operation. and i
Issue
1

Query fails with failed to read

() on a caught exception object? In that case you may be able to update the code to report ... ); } ...   we are able to update the production system next week monday night Strangely ... them together with our update 1 week before). The log shows: [2018-08-17 19:14:40 #1 config]  Invalid or expired
Issue
1

Can't open replicated database

(just read, no update) but it fails with the error below. The code I'm using is (user & password ... call. The exception is: [ObjectDB 2.2.8] javax.persistence.PersistenceException Attempt to update types in ... .UserException: Attempt to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com
Forum
1

Optimistic Locking

and updates the Counter:   PersistenceManager pm1 = pmf.getPersistenceManager(); Counter c1 = pm1 ... (); // Second user retrieves and updates the Counter:   PersistenceManager pm2 = pmf ... each user should have its own PersistenceManager and the update must be based on the object
Forum
1

Optimistic locking: prevent version increment on entity collection attribute

. Otherwise the version will be updated, and currently you cannot disable this update. Could you please explain the reason for avoiding this object version update? Thank you for this. I will try it and will let ... of the parent entity to be updated because order lines are an intrinsic part of the order. In the case
Issue
1

Unexpected exception (Error 990) com.objectdb.o.InternalException

.class, 1).embeddable;         System.gc();         // Update the embeddable:                  em.getTransaction().begin();         embeddable.update();         em.getTransaction().commit ... ();     }         @Embeddable     public static class MyEmbeddable {         int x;         void update
Forum
1

Java 9 support

resulted.  (Roughly speaking, installer shrunk about 50%, load time about 25% faster, updates about 50% smaller and one update shrunk from 75 MB to 1 MB!) Thank you to ObjectDB for providing early support ... . Thank you for the update. If you can provide more details, including sharing the ObjectDB 2.7.2_05
Forum
1

Access entity version before commit transaction

Hi, I have a usecase where I need to write the updated entity version to the database before ... containing the new version of the entity So I need to access the version of an updated entity inside ... of the entity ObjectDB seems to update the version field automatically. But if I just set a String