About entities

issue

ClassCastException thrown when running count query

Hello! Attached you find a full stacktrace. The query was: Bug Version: Priority: Normal Status: Fixed Replies: 6 Type:  Bug ...

 
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: #1 2011-07-07 16:55 Hi,    I've had an issue that started today and it's got me stumped. I've got a sub ...

 
forum_thread

ClassCastException on SELECT NEW ... after UPDATE over Java RMI

Hi, we are using ObjectDB 2.5.4_04 on Linux. Our application, which uses ObjectDb as a DB, exposes a Java RMI interface which allows remote RMI clients to run JPQL queries on the DB. The application internally runs SELECT NEW ... queries. For example: #1 2014-05-15 04:50 Hi, we are using ObjectDB 2.5.4_04 on Linux. Our application, which uses ObjectDb as a DB, exposes a Java ...

 
forum_thread

Updating existing persistence entries

I have stored some instances of MyObject via em.persist(myObjectInstance); I can fetch them and bind them to a kind of property editor in my app (it simply calls the setters to reflect gui editing actions). When I try to persist a object later on, I get an error like com.objectdb.o.UserException: Attempt to reuse an existing primary key value which makes sense to me but I'm missing a em.update() method. #1 2012-12-07 19:29 I have stored some instances of MyObject via em.persist(myObjectInstance); I can fetch them and bind them ...

 
forum_thread

Memory Leak?

#1 2011-05-03 17:51 Hi, I'm evaluating ObjectDB and certainly new to it. I'm seeing a possible memory leak in Obj ...

 
forum_thread

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. #1 2012-05-26 22:55 Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context star ...

 
forum_thread

Integration

Hi,   Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction Management and DAO Support?   Regards, #1 2010-12-01 18:37 Hi, Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction Managem ...

 
manual

Query Parameters in JPA

Explains how to use parameters (named parameters and ordinal parameters) in JPA queries. Query parameters enable the definition of reusable queries. Such queries can be executed with different parameter values to retrieve different results. Running the same query multiple times with different parameter values (arguments) is more efficie ...

 
forum_thread

ODB should auto-restart if it detects it's necessary

Hi! I find very tricky the need to restart ObjectDB server after schema modifications in a distributed environment. Moreover, not doing it does sometimes trigger ugly errors, which mean application downtime. It might be very useful to have an additional feature (that could be enabled/disabled in objectdb.config) that each time ObjectDB detects a schema change that requires restart, it should automatically restart itself. This way we save a lot of headaches from our dev. ops. Currently we have to manually do: ... have any problem reading all ExerciseSetResult entities. This error happened just in code or tests, but not through ObjectDB ...

 
forum_thread

Add class to objectdb ?

Hello , i've made blank db project and opened with explorer.jar How can i add class file then push objects manually by explorer.jar   It only gave me blank : http://img543.imageshack.us/img543/7463/screenshot20130203at001.png       #1 2013-02-02 22:22 Hello , i've made blank db project and opened with explorer.jar How can i add class file then push ob ...