About JPA

page

Apache License, Version 2.0, January 2004

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions . "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shal ...

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

ClassCastException of same object type

I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved. I get the following error: java.lang.ClassCastException: org.sportscoring.ssv.xc.core.XCCompetitorCount cannot be cast to org.sportscoring.ssv.xc.core.XCCompetitorCount ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... using enhanced method (error 362) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:376) at ... com.objectdb.o.OBM.bv(OBM.java:249) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:373) ... 4 more Caused by: ...

 
issue

NullpointerException at a normal select

When I run the following code: EntityManager em = getEm(); Customer result = null; try {     logger.debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult(); } catch (javax.persistence.NoResultException nre) { } finally {      em.close(); } I get the following error (you can also see the log message containing the String parameter at the top): ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... . Type: * Bug JPA Feature JDO Feature Feature Request Documentation Website ...

 
issue

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

NB: the following issue only happens with ObjectDB, it does not happen with EclipseLink.  Glassfish3.0.1 objectdb-2.2.5_10 JavaEE6 web app The error reports as: javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getWidthPxSideBarLeft Where getWidthPxSideBarLeft() is an annotated getter of an entity ViewConfiguration: ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Criteria Query results in a NoResultException instead of returning object

When I run the following code    ... com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:620) at ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

Hi,    I've had an issue that started today and it's got me stumped. I've got a subclass User, which extends a BaseEntity. The BaseEntity has a @PreUpdate as per: ... com.objectdb.o.EDS.i(EDS.java:241) at com.objectdb.jpa.EMImpl.fire(EMImpl.java:1083) at com.objectdb.jpa.EMImpl.bd(EMImpl.java:1036) at ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

NullPointer running multiple client against server

Hi, I'm running objectdb in server mode, config as it comes out of the box. In this case the database is being used as a queue with multiple seperate processes, each with multiple threads, writing messages. The message is split into a lightweight metadata message to allow fast searching and a more heavy weight data message. The put methods are shown below. The message is made up of an id, insert-time, priority and the payload is a large string. ... com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) ... 11 more Caused by: ... com.objectdb.o.OBM.bE(OBM.java:715) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:274) ... 11 more Thanks for your help ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Replication error - parsing objectdb config

I'm trying to replicate a database using the following config: <server>   <connection port="6136" max="100" />   <data path="$objectdb/db-files" />   <replication url="objectdb://localhost:6126/DEV1/NewMessagePipe.odb;user=admin;password=admin" /> </server> ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... is unavaliable (error 538) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:161) at ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...