About fix

issue

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

Hello Object Db community :) I am using this wonderful library and I caught a strange exception while testing the "composite key" feature in JPA. Let's see what I am doing : @Entity public class Book {     @EmbeddedId BookId id; } @Embeddable Class BookId {     Integer bookIdCountry;     ECountry country; } My BookId contains 2 attributes: One Integer and one enum. ... this report. Please try build 2.4.1_06 that should fix this exception. ObjectDB Support ObjectDB - ...

 
issue

Resource leaking via a rogue Shutdown Hook

A shutdown hook is registered upon ObjectDB initialisation. The hook is loaded from the web application's class loader. When the application is stopped (not the server, just the application) the hook is not cleared. This leads to web-application class-loader leak, that results in huge resource loss, and eventually in an OOME. Offending class: com.objectdb.o.MSF$1 (anonymous subclass of java.lang.Thread) Name of the Thread/Hook: ODB-FileCloser Thread is registered from the com.objectdb.o.MSF static initialiser (<clinit>). Bug Version: Priority: Normal Status: Fixed Replies: 1 Type:  Bug ...

 
issue

NPE in server mode

See stack trace below. Unfortunately I just uncovered this in a log check so I dont have any further information surrounding the circumstances. java.lang.NullPointerException at com.objectdb.o.SHN.ai(SHN.java:470) at com.objectdb.o.SHN.K(SHN.java:146) at com.objectdb.o.HND.run(HND.java:133) at java.lang.Thread.run(Thread.java:595) Full log is attached. NB: This occured in version 2-2-9_07 (as this is what we currently use in prod) so may be resolved in the latest version anyway. Bug Version: 2.2.9 Priority: Low Status: Fixed Replies: 1 Type:  Bug ...

 
issue

Allow to see more records on website

Not sure if we should post this here but there're a "Website" Marker type for issue so I'll try that. It'd be great to see more records on your website at once (i.e. in the task tracker, forum etc. etc.) and to customize that view how many items per page one would like to see.  Website Version: 2.0.0 Priority: Low Status: Fixed Replies: 2 Type:  Website ...

 
issue

Better support for ObjectDB in Eclipse Plugins

ObjectDB can be used in Eclipse plugin, but currently it has to be embedded in the plugin and cannot be used from other plugins in which it is not embedded. More details can be found in the following forum threads: ObjectDB eclipse plugin Eclipse plugin problem (using ObjectDB as a separate bundle) ClassCastException of same object type javax.persistence.PersistenceException Feature Request Version: 2.2.8 Priority: Normal Status: Fixed Replies: 1 Type:  Feature Request ...

 
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.   ... Thank you for the test case. Build 2.2.3_05 should fix the problem. ObjectDB Support ObjectDB - Fast ...

 
issue

JPQL Update & Delete (JPA 1.0)

The JPQL (Java Persistence Query Language) supports updating and deleting database objects by queries. Currently ObjectDB supports only JPQL SELECT queries.Delete queries are supported for JDOQL (JDO Query Language). JPA Feature Version: Priority: High Status: Fixed Replies: 3 Type:  JPA Feature ...

 
issue

JPA Query Criteria API (JPA 2.0)

The JPA Criteria API supports dynamic definition of JPQL queries using CriteriaBuilder as a factory. ObjectDB supports dynamic definition of JPQL queries as strings and expected to support also the new JPA 2 Criteria API in future versions.   JPA Feature Version: Priority: Normal Status: Fixed Replies: 2 Type:  JPA Feature ...

 
issue

JPA Metamodel (JPA 2.0)

The JPA Metamodel API enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The JPA Metamodel API has a major role in defining queries using the JPA Criteria API. JPA Feature Version: Priority: Normal Status: Fixed Replies: 2 Type:  JPA Feature ...

 
issue

Enhancer: non-zero exit code at exceptions

Hello, we have found that the enhancer returned an non-zero exit code on errors. You can change this so that the error of the enhancers can be detected. Feature Request Version: Priority: High Status: Fixed Replies: 2 Type:  Feature Request ...