About SECOND

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

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 ...

 
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

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 ...

 
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 ...

 
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 ...

 
manual

[ODB1] Chapter 1 - About ObjectDB

Describes the main features and editions of ObjectDB 1.0 for Java/JDO.... It can store and retrieve thousands of objects per second. Even queries on millions of objects are very fast, when proper indexes ...

 
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

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 . ...

 
issue

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

Hello, in our application we use ObjectDB in embedded mode as part of the Profile that can be stored and opened by our customers. Our application is an eclipse RCP application with a domain-driven design. The product can be installed in different configurations (in other words with more or less PlugIns). This presents us with further challenges when we have made changes to DB schema for new versions. ... and tried to access entities they are not part of the second (reduced) schema and it wasn't possible. Therefore our adoption that ...