About SECOND

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: ... I don't understand why I cannot persist the second instance of the TherapeauticDrugScreenRqst when there is only three ...

 
forum_thread

Eclipse4 RCP - No Persistence provider for EntityManager

Hello, I'm developing an Eclipse4 RCP application which uses ObjectDB and have the following problem after calling Persistence.createEntityManagerFactory("test.odb") : javax.persistence.PersistenceException: No Persistence provider for EntityManager I'm using the latest ObjectDB 2.6.2.b03. It is integrated in our target platform. It is noticed that since 2.6.2.b02 there is no more integrated javax.persistence & javax.transaction. ... ( 0 ) ; When I run the code a second time (without the insert) I get a ClassCastException (LocalEntity cannot ...

 
release

2.3.3

... ( YEAR , MONTH , DAY , HOUR , MINUTE , SECOND ). Added support of  bypassing no arg ...

 
issue

NullPointerException in __odbGetNumMember

Hi,   hi, When deleting an entity "Mitglied" -> everything works fine. Trying to delete another one (in a separate transaction) always causes a NullPointer Exception in __odbGetNumMember line 1 of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in our implementation. I am posting the stack trace in the hope that it'll help to figure what's going wrong: ... type.. the one that works at the first time but fails the second time and works third time again so I would doubt that it has to do with ...

 
forum_thread

best practice for DB recovery

Hi, I'm trying to come up with the best approach for supporting some kind of hot standby for my master DB. ... outages, so we need some ability to switch to the second DB without stopping the application. We can pause it for a short while ...

 
forum_thread

Open several objectdb databases the same time

We tried to open objectdb databases from application and got following error: ... Exception aException ) { // For second and other connections m_EntityMgrFactory = Persistence . ...

 
forum_thread

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Hello, I tried to get the Guestbook tutorial run with Glassfish (see above) but it's not working. When I try to add a guest I got a HTTP Status 404 Wich versions of ObjectDB should I use? Thanks #1 2012-09-04 16:26 Hello, I tried to get the Guestbook tutorial run with Glassfish (see above) but it's not working. Whe ...

 
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. ... public enum EEnum { FIRST, SECOND ; }   public static void main ...

 
issue

ClassCastException thrown when running count query

Hello! Attached you find a full stacktrace. The query was: ... I could fix ObjectDB to return correct results for the second query (even though there are broken references). The first query ...

 
forum_thread

ObjectDB Enhancer Tool in Java 9

I am migrating to Java 9 and have encountered some issues, which I am sure will eventually be addressed by a Java 9 compatible ObjectDB future release, but while waiting for that release, perhaps you could give some advice for my current issues. Firstly, I created my own ObjectDB module.  I try to run com.objectdb.Enhancer from that module, but ObjectDB gives the error below.  My guess is the error is because ObjectDB is trying to detect its objectdb.home location by looking at its objectdb.jar location, which is not valid in a Java module environment. ... Answering the first question is just a bonus.  The second issue is the one I really need to resolve.  Otherwise I guess my ...