About FROM

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

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

 
issue

Doctor bug?

Please see the attached .odb file. It was freshly created by my web application, and just very few entries have been posted to the database yet. But still the doctor reports a whole bunch of errors. My application seems to function properly though. I guess this is a bug in the doctor? Using version 2.4.1. I get  ... my recent changes to the object hierarchy, where I inherit from a common superclass, which I annotated as you suggested (in another recent ...

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

 
issue

Error whilst running

ObjectDB 2.6.0] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_17 (on Windows 2003 5.2). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.BYR.o(BYR.java:113) at com.objectdb.o.BYR.w(BYR.java:206) at com.objectdb.o.VUT.j(VUT.java:350) at com.objectdb.o.RST.C(RST.java:194) at com.objectdb.o.RTT.l(RTT.java:134) at com.objectdb.o.RST.l(RST.java:24)... only in very specific cases, since we only have reports from one user for this issue, although the change is more than two years old. ...

 
issue

Internal exception

Hello. We got the following stacktrace. Can you explain me what this internal exception means and why it was thrown? It only happens when the entities are enhanced. Best regards BTC ES   ... trace indicates a failure to cascade persist operation from unknown reason during that flush. Any more information could help. ...

 
forum_thread

ObjectDb Supports Clustering of Servers?

Hi,     I am new to ObjectDb. we have a scenario where we deploy the same application in more than one linux (Jobss) servers. In this case user request can go to any server depends on the availability of the servers (This is for load balancing ). As of now we are using Oracle + Hibernate + JPA , as Oracle is shared data there was no problem. ... in my local too.  But when i retrieve objects from my local DB it was too fast where as it is taking so much time to connect ...

 
tutorial

Step 5: Add a JSP Page

Explains how to add a JSP to an Eclipse Spring MVC JPA web application project.... the guests that have already signed (which are retrieved from the request's  guestDao attribute that is set by the controller in the ...