About embedded

manual

Entity Management Settings

Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... end settings that are relevant on the client side and in embedded mode. The default configuration file contains the following ...

 
forum_thread

Java 6/7 Performance Comparison

Hey, I've been using ObjectDB for a small scale home project to gain some familiarity before proposing it in a commercial project at work. What I've noticed though is that when using objectdb in embedded mode based on the console tutorial, there seems to be a bit of a performance gap running the same code between Java 6 & 7 Tracing it through I can see the bottle neck seems to be at the creation of the entity manager and I was wondering if there are any additional configuration options I may have missed while running under java 7. ... I've noticed though is that when using objectdb in embedded mode based on the console tutorial, there seems to be a bit of a ...

 
forum_thread

Multithreading Test and Deadlock

I move on to testing the multi threaded part of ObjectDB. From the same code (MyMain.java), I set the thread count from 1 to 4 and not only do I found it's slower overall (each thread only needs to insert 250K entities) but the threads are stuck with a deadlock. All threads share the same EntityManagerFactory but they have their own EntityManager. The stack trace is attached. ... Regarding multithreading speed - currently in ObjectDB embedded mode multithreading improves performance in reading but not in ...

 
forum_thread

app.jelastic.eapps.com and objectdb

It seems that this web hosting service doesn't support objectdb and that is frustrating. Does anyone know a way around this? pls help a brother... ... in the ObjectDB web application tutorials. Note that in embedded mode using ObjectDB is like using any Java library (i.e. adding a JAR ...

 
forum_thread

Issue with compile time enhancement

I have an entity library which I have integrated build time enhancement in.  The enhancer reports it has processed all of my persistent classes.  When I attempt to run a Bootstrap process with this library I get the error shown below.  The entity referenced in the error (Terms) is listed as having been enhanced. I am running with ObjectDB in embedded mode via a reference to a persistence unit also shown below. Please let me know if you need any additional information to diagnose this problem. Thanks, Joel ... been enhanced. I am running with ObjectDB in embedded mode via a reference to a persistence unit also shown below. ...

 
forum_thread

No clue how to query with collection

Hi there! Actually, what I have is something like: @Embedable class Address { String getStreet(); int getStreetNo(); } @Entity class Contact { Collection<Address> getAddresses(); }   #1 2011-12-02 15:55 Hi there! Actually, what I have is something like: @ Embedable class Address { ...

 
api-jpa

javax.persistence.MapsId

Designates a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or a simple primary key of the parent entity.(Annotation of JPA)

 
api-jdo

Embedded.ownerMember

The member in the embedded object that links back to the owning object where it has a bidirectional relationship.(Annotation Element of javax.jdo.annotations.Embedded)

 
api-jpa

hasSingleIdAttribute()

Whether the identifiable type has a single id attribute.(Method of javax.persistence.metamodel.IdentifiableType)

 
forum_thread

Failed to create a new file 'target\objectdb\log\archive' (error 112)

Hi, we are using ObjectDB 2.4.6_10 (embedded mode). The pre-registration of a data type (see below) fails because ODB can't create a new file in a non-existing folder hierarchy. The user under which the JVM is executed in which the code below is run does have write permissions on the folder "target\objectdb". The folder "target\objectdb\log" does not exist yet. Do we have to create it beforehand? This issue is affecting our integration tests against ODB and is pretty major for us. Thanks ... Hi, we are using ObjectDB 2.4.6_10 (embedded mode). The pre-registration of a data type (see below) fails because ...