About FROM

forum_thread

Feature Request: Improved ObjectDB Explorer

ObjectDB explorer is mainly designed as database viewer, not editor. However, I think it can be improved to function as a capable editor also, and I think this will make ObjectDB an even better product. ... - some work on the GUI: most icons look like they are from win98, and the solid colors for the tables and trees look again, very old. ...

 
forum_thread

Why the internal error was thrown?

com.objectdb.o.InternalException at com.objectdb.o.CCH.H(CCH.java:298) at com.objectdb.o.CCH.E(CCH.java:155) at com.objectdb.o.QRM.Vo(QRM.java:226) at com.objectdb.o.MST.Vo(MST.java:988) at com.objectdb.o.WRA.Vo(WRA.java:311) at com.objectdb.o.WSM.Vo(WSM.java:115) at com.objectdb.o.QRR.g(QRR.java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719) ... . getModelElementsByQuery ( "select distinct m from " + PoolImpl. class . getName ( ) + " m" , ...

 
forum_thread

Enhancer -s broken

Hi, after upgrading to ObjectDB 2.5.4_04 we noticed that the enhancer option -s is currently broken. According to your docs <java classname="com.objectdb.Enhancer" fork="true"     classpath="c:\objectdb\bin\objectdb.jar">   <arg line="-s c:\my-project\classes\*.class"/> </java> we've added the enhancer to our ant build: ... response. You were absolutely right. The snippet from your docs does work on Linux, but not on a windows machine due to the ...

 
forum_thread

pesimistic Lock semantic

Hi   I have tested pesimistic lock and the result was for me unexpected. In the first transaction i modified one object and in the second transaction i wanted to the same and  I got an exceptopn that lock could not be granted, quite nice but in that moment I wanted commit the first transaction and I also got lock exception. this the test:   public void testPesimisticLock() {   PersistenceManager pm1 = null;   PersistenceManager pm2 = null; ... With reflection (when enhancement doesn't work from any reason) - the picture will be locked only for READ by pm1 then for ...

 
issue

Another NPE on em.createQuery(query).getResultList()

Related to #51 that was tested against 2.2.7 and marked as fixed in 2.2.8. Running the same test case against 2.2.8 now results in: ... used in the test if you can't deduce the exact failure from this. edit ...

 
forum_thread

Replication not working anymore

Hello! I upgraded my ODB Version to 2.5.4 to get rid of some bugs. Now i tried to start my replica server. It starts fine and then crashes after a few seconds with the following exception: ... over. I deleted the whole ObjectDB folder. Extracted it from the downloaded zip. Copied the database onto the master machine. ...

 
forum_thread

Replication Error

Hello! I try to get a replication setup working on two test servers. So i copied my test database to one of them, enabled recording and started odb. The dbname.odr folder got created so i think everything is ok. Afterwards i added the replication tag to the configuration of the second server and started it. The second server starts complaining instantly with the following Exception: ... fixed now). The database is automatically copied from the master to the slave only if full recording is available starting ...

 
forum_thread

EmbeddedId with Generated field value

@Entity public class A { @EmbeddedId private Id id; } @Embeddable public class Id { @Generated private long id; private String zone; } How can I get the field Id.id auto-incremented?   ... accordingly. Maybe you can inherit the common IDs from a common super entity class / mapped superclass. ...

 
forum_thread

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable { ... updated automatically when User instances are loaded again from the database (you can use clear or refresh to enforce update). ...

 
forum_thread

Maven driven compile time ehnancement

Hi,    Just thought I'd share a small bit of Maven config to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: ... file with the attached file. Run the project from the console - using  mvn package jetty:run The ...