About advanced

api-jpa

javax.persistence.NonUniqueResultException

Thrown by the persistence provider when Query.getSingleResult() or TypedQuery.getSingleResult() is executed on a query and there is more than one result from the query.(Exception of JPA)

 
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

Java 9 support

Hi,  is ObjectDB supporting Java 9 already ? If not when can we expect the support for it ? #1 2017-09-20 07:41 Hi,  is ObjectDB supporting Java 9 already ? If not when can we expect the support for it ? ...

 
api-jpa

javax.persistence.QueryTimeoutException

Thrown by the persistence provider when a query times out and only the statement is rolled back.(Exception of JPA)

 
doc

java.lang.Exception

The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch.(Exception of java.langException Exception)

 
api-jpa

javax.persistence.RollbackException

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

 
forum_thread

disabling JDO in objectdb embedded mode

Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an example consider the following short example: #1 2016-06-02 13:05 Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish ...

 
doc

java.lang.RuntimeException

(Exception of java.langException RuntimeException)

 
api-jpa

javax.persistence.TransactionRequiredException

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

 
forum_thread

On ensuring ID available after persist

This reports on a possible solution to a common problem: I was trialling ObjectDB on an existing, functioning, large JavaEE/JPA web application, which until now had used EclipseLink+MySQL and then Oracle+MySQL. On trying it out on ObjectDB I hit a problem with my very extensive entity wiring code, which relies on an "external" entity object having a non-null id after it has been passed to EntityManager.persist, thus: #1 2011-05-31 00:39 This reports on a possible solution to a common problem: I was trialling ObjectDB on an existing, functio ...