About version

manual

Database Server

Explains how to run and use the ObjectDB object database Server to manage Java/JPA/JDO databases in client-server mode.... following usage message: ObjectDB Server [ version 2.0 ] Copyright ( c ) 2010, ObjectDB Software, All ...

 
forum_thread

How to create a Unique constraint?

Hi, I'm trying to create a unique constraint. Here is a simple example: @Entity public class Account { @Id @GeneratedValue private long id; @Index(unique="true") private String name; } The code runs and my Account objects are persisted. But no exception is thrown if name is the same. What do I need to do to have a Unique constraint? Thanks, Carl   #1 2011-02-10 18:06 Hi, I'm trying to create a unique constraint. Here is a simple example: @ Entity publ ...

 
forum_thread

How do I achieve a Deep Fetch using JOIN FETCH?

I have an Entity type which is contains a collection of Embeddable objects, which in turn themselves contain a collection of Embeddable objects: @Embeddable class A { String val; }; @Embeddable class B { List<A> aList; }; @Entity class C { @Id long id; List<B> bList; };   Usually I'm content to have the B's and A's be lazily loaded, but I have a circumstance where I need to be able to work with the whole C object, with all its parts, as a detached object. ... this deep fetch to work?  I assume I will need to use version 2.4.1_06 or newer, per the case referenced in the above thread. ...

 
forum_thread

Can you implement fastest Native JPA for MySQL by ClusterJ like?

Hello , I've read some docs : http://biemond.blogspot.com/2010/04/super-fast-jpa-with-mysql-cluster-and.html http://dev.mysql.com/doc/ndbapi/en/mccj-using-jpa.html   ... ObjectDB is indeed something that can be added in a future version of ObjectDB. ObjectDB Support ObjectDB - ...

 
forum_thread

Duplicatable and Disposable JPA Repository for Unit Testing

Hi Folks, I seek an in-memory JPA implementation which can be easily instantiated, populated, and then duplicated for use in separate tests.  Tests might be JUnit or Fitnesse based.  There is no reason for file-system storage (preferably there would be none).  The ability to "duplicate" the populated repository is pretty important, as this allows individual tests to execute quickly (very little spin-up time and no need to pre-populate the db) and to execute without side-effects from other tests (db instance is not shared between tests). ... We plan to support pure direct memory storage in a future version, and this could be provided in a short time if requested by a new OEM ...

 
forum_thread

Internal objectdb error when open a database or open an entity manager

we get following exception when we open a database or open an entity manager   ... an issue in the new index activation that was added in version 2.6.6 (probably when there are classes with no persistent fields in the ...

 
forum_thread

Rollback after commit fail

Hi, I have question regarding transaction management in ObjectDB. Consider following scenario: Thread 1: try{ EntityManager em = emf.createEntityManager(); em.getTransaction.begin() persist object1 em.getTransaction().commit(); } catch(...){ em.getTransaction().rollback(); }   Thread 2: #1 2013-08-13 13:00 Hi, I have question regarding transaction management in ObjectDB. Consider following scenario: ...

 
forum_thread

user defined backup target

Dear objectdb Team 1. I could not find a way, to declare the name of the backup-file (while running the database).  The only way I found is to create the folder in which objectdb will copy the database - file:   #1 2013-11-11 17:37 Dear objectdb Team 1. I could not find a way, to declare the name of the backup-file (while running the d ...

 
forum_thread

Embedded Database Replication

As we all know, embedded databases out perform server databases on every occasion. The problem with embedded databases is that theyre difficult to scale. If I were to create an entire enterprise web application within a single jar file using embedded tomcat and embedded objectdb I would run into problems trying to cluster the data. Is there a way to cluster embedded objectdb? Perhaps some kind of external replicator application that can be used by server administrators to ensure replication is optimal and healthy? #1 2015-02-10 18:34 As we all know, embedded databases out perform server databases on every occasion. The problem with embedded data ...

 
forum_thread

Server vs embedded mode in multi-instance scenario

We are creating a web app that will have multiple different clients, each on their own EC2 instance(s). The clients do not need to share any data, so each could have its own ObjectDB. Clients have a user base of about 2,000 to 60,000 users that could possibly be using their application at any given time (100k absolute maximum). We will probably have multiple instances per client for availability concerns as well as auto scale during peak usage, at least for the benefit of our web application if not for objectdb.... first instance as slaves (they have their own read-only version, but writes are pushed to the master). Am I understanding this ...