About Object Database

forum_thread

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

I'm trying to have the guestbook example running in the following environment: jboss as 7.1.1 final oracle jdk 1.7.0_04 maven 3.0.4 objectdb 2.4.0_04 installed as a module of jboss No IDE is used for building the Guestbook.war only maven.   My GuestDAO code is as follows: ... public class GuestDao { // Injected database connection: @ PersistenceContext ( unitName = ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Problem with distinct select, order by and equivalent alias/attribute path

Hi, while working with a (standard-)JPA-query generating framework we run into an exception when ordering the results of some projection when the order by expression is different (though logically equivalent) to the projection expression. Here is the example: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Null enums and IS (NOT) NULL: NullPointerException

Hello. I'm getting NullPointerException when adding %enum field% IS (NOT) NULL or == (!=) NULL in WHERE clause. The same exception using CriteriaQuery. ... ;   public void persist ( Object o ) { try { ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

InternalError on multiple AND and JOIN Query

Hi, Using objectdb 2.2.8_06. Running the following query: SELECT DISTINCT $1 FROM CDI $1 JOIN $1.contactDetails $2 JOIN $2.addresses $3 JOIN $3.attributeList $4 JOIN $2.phoneNumbers $5 JOIN $5.attributeList $6 WHERE ((($4.name='suburb') AND ($4.valueAsString='Los Angeles')) AND (($6.name='areacode') AND ($6.valueAsString='310'))) Getting: ... Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: ... exception. Maybe you are running it on a different database? ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
issue

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

javax.ejb.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer.java:5215) at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:5113) at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:4901) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:2045) at com.sun.ejb.containers.BaseContainer.postInvoke(BaseContainer.java:1994) at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:222)... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

NullPointer when accessing persistent field

I am afraid this is a large and complex example, and I do not encounter the problem in simple cases, therefore there is no example attached. I appreciate this may make the bug unreproduceable from your end.   ... 6.0). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... report this error on http : //www.objectdb.com/database/issue/new com. objectdb . o . InternalException : null ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

PersistenceException UserException: Failed to validate persistence.xml

I'm really tired of looking at the same exception all day. I have DaoService which gets initialized when app starts. ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

JRebel 6.5.1 ObjectDB-2.6.9_06 Glassfish4.1.1 (or Payara41 [163 full]] I appreciate that you are not responsible for compatibility with JRebel, but you might be able to provide some insight or feedback. Reported also to Zeroturnaround for JRebel here. When using JRebel I am getting copious server log output for nearly every @EJB on startup. Typical message is like: ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Entity is not related to ObjectDB, but i get exception from ObjectDB

Here is the description of the problem we are facing:
We have an entity DialogActionNew which previously was located in ObjectDB and recently has been transferred to PostreSQL. We are using ORM Hibernate
When getting this entity from PostgreSQL with the key EntityManager.find(id), we receive another entity - DialogNew, which has an exception: ... value = "objectdb:/home/jboss/database/dp.odb" /> <property name = ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...