ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh
8

Modifier operations

You can use a JPQL update query to increase a field value without fetching it:     Query query = em.createQuery(      "UPDATE WebVisit v SET v.visitsCount = v.visitsCount + 1");     query.executeUpdate(); Update queries are supported by ObjectDB since version 2.2.4 but undocumented yet (the manual
8

ODB IndexActivation NullPointerException

other hint? btc_es BTC EmbeddedSystems Small update: We think a workarround (but not usefull ... A. This thread update the Metamodel, and then close the entityManager. (UpdateMetamodel: call for each ... the Metamodel and the IndexActivation. btc_es BTC EmbeddedSystems Thank you for the update. We will follow
7

Optimistic locking: prevent version increment on entity collection attribute

the version. 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? support Support Thank ... , it makes sense for the version of the parent entity to be updated because order lines
7

Optimistic Locking

retrieves and updates the Counter:   PersistenceManager pm1 = pmf.getPersistenceManager ... (); c1.increase(); // Second user retrieves and updates the Counter:   PersistenceManager ... locking to work each user should have its own PersistenceManager and the update must be based
7

Java 9 support

shrunk about 50%, load time about 25% faster, updates about 50% smaller and one update shrunk from ... you for the update. If you can provide more details, including sharing the ObjectDB 2.7.2_05 modular JAR ... of getting some updated third party module (for example, javax.jdo) that might cause some unforeseen
1

Query fails with failed to read

getMessage() on a caught exception object? In that case you may be able to update the code to report ... ,threadEntityManager); } ... hgzwicker Hans-Georg Zwicker we are able to update ... them together with our update 1 week before). The log shows: [2018-08-17 19:14:40 #1 config] Invalid or
1

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

();         // Update the embeddable:                  em.getTransaction().begin();         embeddable.update();         em.getTransaction().commit(); // unexpected state         em.close ... {         int x;         void update() {             x++;         }    } } The test case shows
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
1

queries under 2.7.6_4 significantly slower than under 2.7.6

we update to the latest version from 2.7.6. Now we have the problem that we have numerous logs ... , hopefully will be able to update soon. support Support Update: The change in ObjectDB that affects ... with keeping that increase. support Support thanks for the update, we can wait
1

Enhancing a class causes it to not save changes.

logs for both the enhanced and unenhanced versions, and the objectdb.conf. -------------Update ... to the current content of the object. This is much less efficient but can work well also with updating ... have enhancement off, and fails otherwise. (Included updated DBTest.java) Any idea what might be going wrong? DB

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