About embedded

release

2.0.4

... Fixed a bug in modifying enhanced detached embedded objects. Fixed a spring transformer ... GWT/Jetty. Fixed a bug in using fields of embedded primary key in JPQL queries. Version 2.0.3 ...

 
manual

JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... type is embeddable may optionally be marked with the @Embedded javax.persistence.Embedded JPA annotation Specifies a persistent field or property of ...

 
issue

Out of Memory - Slow leak?

This is a continutaion of Issue 61 - unfortunately it doesnt seem that the fix in 2.2.9_03 has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated the OOM exception. ... messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated ... process is connected to 4 server-hosted databases and 9 embedded databases (the embedded databases are 3 "queue" databases and 3 normal ...

 
api-jdo

Persistent.name

Name of the member when this is embedded in another object.(Annotation Element of javax.jdo.annotations.Persistent)

 
api-jpa

javax.persistence.EmbeddedId

Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class.(Annotation of JPA)

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. ... In the current implementation ObjectDB is embedded in the driver. Any 2.x version of the driver can work against any ObjectDB 2.x database file in embedded mode, since the database file format is fixed for all 2.x versions. ...

 
forum_thread

ObjectDB Explorer Exposes Username and Password

How can I prevent my database username and password from being exposed by ObjectDB Explorer? ... How can I prevent my embedded database's username and password from being exposed by ObjectDB ... circumstances, how do I prevent anyone from accessing my embedded database without knowing the username and password? ...

 
page

Posting to ObjectDB Website - Important Instructions

Instructions for posting to ObjectDB website (to the forum, the issue tracking and the help desk).... main method (preferred over JUnit). Use embedded mode to connect to the ObjectDB database directly ( no persistence ...

 
forum_thread

Debuging query before execution

Hi, Is is possible in any way to get string representation of a query right before execution, after setting parameters? Of course it's easy to print out query string when we build it by concatenating many strings, but even then we miss attributes. ... do you suggest? The query string with parameter values embedded, replacing the parameter names? I think it would be better to ... The query string with embedded values would be nice for simple queries with up to 3 parameters. But ...

 
forum_thread

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal with these exceptions: [ObjectDB 2.2.5_04] javax.persistence.RollbackException Failed to commit transaction: Optimistic lock failed for object   ... Having used objectdb for nearly 10 years now, all in embedded mode, I'm a bit surprised by its behavior in client/server mode. ... The behavior has nothing to do with client-server vs. embedded mode. This is how it works in ObjectDB 2.x in both embedded and ...