About files

forum_thread

Unable to persist TreeMap

import java.util.SortedMap; import java.util.TreeMap; import javax.persistence.Entity; //---------------- @Entity class Person { public SortedMap<String, String> memberships = new TreeMap<String, String>(); } //Person   #1 2013-06-04 14:44 import java. util . SortedMap ; import java. util . TreeMap ; import javax. persisten ...

 
issue

Null pointer exception being thrown from within ObjectDB.

EXCEPTION/DESCRIPTION: Bug Version: 1.04 Priority: Normal Status: Active Replies: 1 Type:  Bug ...

 
issue

error 990 ?

This is what I got today: [ObjectDB 2.2.5] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Client VM 1.6.0_31 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null Bug Version: 2.2.5 Priority: Normal Status: Closed Replies: 1 Type:  Bug ...

 
forum_thread

Entity listener - event instead of object

Hi, Currently I'm playing with entity listener to implement auditing with difference between values in updated entity. There is a problem however with accessing "old" version of object stored in database. I can't find the nice way to use EntityManager in EntityListener. Because of that, I can't store separate entity for given event. Right now I'm using BaseEntity which contains #1 2011-07-20 12:49 Hi, Currently I'm playing with entity listener to implement auditing with difference between values i ...

 
forum_thread

java 8 LocalDateTime is not working in query

My entity class has a field of type java.time.LocalDateTime. I'm able to persist entities and I'm able to query without datetime field in where clause, but with datetime in where clause doesn't return anything and not exception.   #1 2014-08-25 00:19 My entity class has a field of type java.time.LocalDateTime. I'm able to persist entities and I'm able to ...

 
issue

NPE at com.objectdb.jpa.JpaQuery.getResultList

This is very similar to issue #51  raised by kaosko .   So perhaps I should have added it there.  Anyway, here it is....   Bug Version: 2.2.7 Priority: Normal Status: Closed Replies: 3 Type:  Bug ...

 
issue

Removing of an entity removes also another entity type

Hello, we have following case: ToleranceDefinition and ResolverMapping are entities and have not any relations each other. Before start transaction the ToleranceDefinition entities exist already in the database. Bug Version: Priority: Normal Status: Active Replies: 6 Type:  Bug ...

 
issue

[ObjectDB 2.4.1] Unexpected exception (Error 990) on getObjectById

In this code: String id = "my key"; itemDb = pm.getObjectById(ABC.class, id); I get this: Bug Version: 2.4.1 Priority: Normal Status: Closed Replies: 3 Type:  Bug ...

 
forum_thread

2.5.3_02: java.lang.UnsupportedOperationException

Hello! I use Glassfish 4.0.0 and ObjectDB 2.5.3_02. When I do entityManager.createQuery I get an exception: #1 2013-10-20 17:00 Hello! I use Glassfish 4.0.0 and ObjectDB 2.5.3_02. When I do entityManager.createQuery I get an exc ...

 
forum_thread

ClassCastException: cannot be cast to com.objectdb.spi.TrackableUserType

Hello, I have a class TherapeauticDrugScreenRqst with two other nested subclasses - all using Groovy. My first attempt to persist TherapeauticDrugScreenRqst to Objectdb 2.2.8 is successfully. However, although my method to store the method is shown below: #1 2011-07-07 19:57 Hello, I have a class TherapeauticDrugScreenRqst with two other nested subclasses - all using Groovy. ...