About error

issue

Internal Exception

Critical error:: com.objectdb.o.InternalException: Unexpected internal exception at com.objectdb.o.JPE.h(JPE.java:165) [objectdb-2.4.4_05.jar:] at com.objectdb.o.ERR.f(ERR.java:70) [objectdb-2.4.4_05.jar:] at com.objectdb.o.OBC.onObjectDBError(OBC.java:1505) [objectdb-2.4.4_05.jar:] at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:723) [objectdb-2.4.4_05.jar:] ... Caused by: java.lang.NullPointerException at com.objectdb.o.WVP.q(WVP.java:539) [objectdb-2.4.4_05.jar:] at com.objectdb.o.WVP.l(WVP.java:220) [objectdb-2.4.4_05.jar:] at com.objectdb.o.WV... 08:18 Critical error:: com.objectdb.o.InternalException: Unexpected internal exception at ...

 
forum_thread

Grouping by date()

Hi, For some time now we can use date and time function in queries to extract part of date time (from documentation): YEAR({d '2011-12-31'}) is evaluated to 2011. MONTH({d '2011-12-31'}) is evaluated to 12. DAY({d '2011-12-31'}) is evaluated to 31. HOUR({t '23:59:00'}) is evaluated to 23. MINUTE({t '23:59:00'}) is evaluated to 59. SECOND({t '23:59:00'}) is evaluated to 0. ... from year()-month()-day() calls, but this method is quite error prone and final queries are terrible to read. My question is - is it ...

 
forum_thread

member visiting in jpql

baURI is a byte[]; JP QL> select e.baURI.length from URI e where id=82778 JP QL> [ObjectDB 2.2.9_04] javax.persistence.PersistenceException Navigation from 'byte[]' through 'length' is invalid (error 763) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:636) at util.JPQLcmd.QureyCMD(JPQLcmd.java:43) at util.JPQLcmd.main(JPQLcmd.java:28) Why I can not visit the length attribute? TIA ... from 'byte[]' through 'length' is invalid ( error 763 ) at com. objectdb . jpa . JpaQuery . getResultList ...

 
forum_thread

auto-generated uuid fields

Hello, we're porting a JDO application to ObjectDB which uses uuid-hex generated values. However the page on generated values in your JPA tutorial only mentions numeric generated values, and when we try to use it the error message seems to imply that auto-generating strings isn't supported. Could you confirm whether this is the case? If so it seems an odd omission, given that it's part of both the JPA and JDO standards (JPA Generator.UUID_HEX and JDO value-strategy="uuid-hex") and that the Java language itself supports it (java.util.UUID). ... numeric generated values, and when we try to use it the error message seems to imply that auto-generating strings isn't supported. ...

 
forum_thread

Netbeans-Friendly Javadocs

Is there a .jar or URL that I can use to get javadocs that work within Netbeans code prediction popup boxes? I tried attaching the URL: http://www.objectdb.com/api/java/jpa/EntityManager to the EntityManager object in Netbeans but it gives me the error: Javadoc not found. Either Javadoc documentation for this item does not exist or you have not added specified Javadoc in the Java Platform Manager or the Library Manager. ... the EntityManager object in Netbeans but it gives me the error: Javadoc not found. Either Javadoc documentation for this ...

 
issue

Issue with TYPE expression in Criteria API

Find attached project using latest 2.3.4_03 odb still causes:   ... an instance of a non persistable type java.lang.Class (error 303) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:675) at ...

 
api-jdo

registerErrorHandler(handler)

Register an ErrorHandler instance for use in parsing the resource(s) META-INF/jdoconfig.xml.(Method of javax.jdo.spi.JDOImplHelper)

 
forum_thread

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

Hello, ObjectDB team! I am struggling with getting ObjectDB 2.5.0 to work with clean Apache Tomee 1.5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in Tomee's classpath) nor other parts, excepting the following persistence.xml: ... </persistence > I get the following error at deployment time: Failed to use JTA If I set ...

 
forum_thread

Problem with log file in an embedded db with netbeans platform application

Hello, I'm starting a new desktop application built with netbeans platform 7 and objectdb/JPA as embedded db (version 2.3). I haven't had any problem with the domain class library project, but running the netbeans platform application that use the same domain class library an error occurs that crash the application. This is part of the stack trace: ... application that use the same domain class library an error occurs that crash the application. This is part of the stack ...

 
issue

java.lang.NullPointerException during access a field, only if the classes enhanced

We get the following exception during access a field (Set of entities) The error occurs only if the entities are enhanced. ... during access a field (Set of entities) The error occurs only if the entities are enhanced.   Caused by: ...