About client

api-jpa

javax.persistence.TransactionRequiredException

Thrown by the persistence provider when a transaction is required but is not active.(Exception of JPA)

 
api-jpa

javax.persistence.RollbackException

Thrown by the persistence provider when EntityTransaction.commit() fails.(Exception of JPA)

 
forum_thread

Query results are not up to date for entities, not primitives

When using the CriteriaBuilder to query, the retrieved list are not refreshed according to the latest updates. But, when using the JPQL Query, the list are refreshed. What is the problem? ... password = "pwd" / > <client - truststore path = "$objectdb/ssl/client-tstore" password = "pwd" / > < / ssl>   < ...

 
api-jpa

javax.persistence.NoResultException

Thrown by the persistence provider when Query.getSingleResult() or TypedQuery.getSingleResult()is executed on a query and there is no result to return.(Exception of JPA)

 
forum_thread

Activation Issue

Hi, We bought a site license the yesterday. I ran the activation class this morning. That generated the activation key. I took that key as per the instructions, added it to the objectdb.conf inside the jar, and everything was happy. (this was with 2.3.7). However after a reboot I'm now getting the evaluation license restriction message again at compile time (which was I was seeing before putting the activation key in objectdb.conf). I tried upgrading to 2.3.7_02 and updating objectdb.conf with the activation key, but get the same behaviour. ... setting is required on the server side so if you are using client-server and you added it to the client side (the web application) it will not work. You have to run the server ...

 
release

2.2.6

... boxes. Fixed an UPDATE/DELETE query bug in client-server mode. Fixed an ArrayIndexOutOfBoundsException in ... Fixed unexpected  NullPointerException in client server mode. Fixed an exception in AVG query on non ...

 
release

2.2.5

... boxes. Fixed an UPDATE/DELETE query bug in client-server mode. Fixed an ArrayIndexOutOfBoundsException in ... Fixed unexpected  NullPointerException in client server mode. Fixed an exception in AVG query on non ...

 
forum_thread

Problem on JPA Merge Entity.

Hello, I have a problem with the EntityManager.merge() function. I set a property value of an entity (statement) with an other entity (newSingleConstraint). newSingleValue is already persisted. I do this myself (no use of cascade because sometimes the newSingleValue is already in database).   The statement update don't throw exception. And when i try to reload statement the value i have set before is a null value. I check with the Explorer, the statement has a null value on the property and the newSingleValue is present.... Please verify that you switched the server and the client (in pom.xml) to 2.0.5 and that the project was rebuilt and then ...

 
doc

java.lang.RuntimeException

(Exception of java.langException RuntimeException)

 
forum_thread

Eclipse4 RCP - No Persistence provider for EntityManager

Hello, I'm developing an Eclipse4 RCP application which uses ObjectDB and have the following problem after calling Persistence.createEntityManagerFactory("test.odb") : javax.persistence.PersistenceException: No Persistence provider for EntityManager I'm using the latest ObjectDB 2.6.2.b03. It is integrated in our target platform. It is noticed that since 2.6.2.b02 there is no more integrated javax.persistence & javax.transaction. ... the access to the ObjectDB database Plugin project client - uses the OSGi Service - ObjectDB Bundle is set as Dependency ...