About version

forum_thread

"Problem" with cross join

At first, this is my first JPA Projekt - and the code should work with Hibernate and JPA, using the specifc DAOs. Following query string returns no result using ObjectDB - using Hibernate, or EclipseLink this query works fine. select distinct c from CI c, CIstring s where c.name like :SSTR or (c.id = s.ci.id AND s.text like :SSTR) The class CI (Confiugration Item):...private String name;@OneToMany(mappedBy="ci") private List<CIdata> content;... The attached test reproduces the problem - its fails with version 2.0.4 and seems to work well with 2.0.4_01. If you still see ...

 
forum_thread

Is there any GUI for creating/editing entity?

Hi, I'm new for JPA/JDO. How should I create/edit entity class? Is there any GUI?   In my searching easily, there is the jpa function of myeclipse, or Dail. http://www.myeclipseide.com/documentation/quickstarts/jpa/ http://www.eclipse.org/webtools/dali/   Please tell me your method usually for creating/editing entity and JPA/JDO things. I'm expecting the one like MySQL Workbench.    TIA :) ... I want you to consider its eclipse plugin version, If you will.   ...

 
forum_thread

LEFT (OUTER) JOIN problem when mappedBy is defined

Hi all, I want to get objects with their lists, even when the lists are empty. So I've witten this query: "SELECT i FROM Invoice i LEFT OUTER JOIN i.itemList items" But this query never returns invoices without items! Only invoices with items. When I remove mappedBy from @OneToMany annotation, LEFT JOIN works correctly. Is this normal behaviour? Thank you Michael   Sample application ... I've forgotten the version - I've tested with 2.2.7 build 5 and 2.2.7 build 8 ...

 
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

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

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

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

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

 
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

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