About connection

issue

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted yet - it becomes persisted twice. This was demonstrated by a Java EE application in this forum thread but may be reproduced also in a simple console test case: ... ] args ) {   String $connection = "objectdb:db/test.tmp;drop" ; ... Persistence . createEntityManagerFactory ( $connection ) ; EntityManager em = emf. ...

 
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. ... the 3rd heap dump now. I had some trouble with the connection so its divided into a 4 part rar archive named java_pid5568.*.rar ...

 
forum_thread

ObjectDB Clustering VS Hadoop Hbase

The Hbase is an open source distributed database on Hadoop, it is robust regardless of the performance problem. The ObjectDB cluster may be a distributed database, I guess. But I dont know whether it has only one entry, or each node has an entry. Could you please explain the difference between Hbase and ObjectDB clustering? TIA   ... using composite urls the order of the urls defines the connection priority. No need to restart the master server to add a new slave since the configuration  of the master-slave connection is on the slave side only. ObjectDB Support ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... to OpenEJB that closed the EntityManager and moved its connection to the pool. Then to ObjectDB (on the just closed EntityManager ) that had to commit changes using the connection (which has already been moved to the pool and could be allocated to ...

 
forum_thread

How to open a running db in ObjectDB Explorer?

Hi! I've just discovered that I can't see the content of a database while it's in use. Is there any way in which I could do that? It's not nice at all to close the application, copy the db in another location, start the application then finally I could explore my data, but it will be just a copy of the data, not the live information. ... file: <server > <connection port = "6136" max = "0" /> <data ... like: <server>     <connection port="6136" max="0" />     <data ...

 
release

2.3.5

... ). Fixed handling ;drop in client-server connection url. Fixed performance issue ( fetch optimization ) ... Fixed Explorer bugs: editing embedded objects and using connection urls. Fixed a NullPointerException on using a ...

 
forum_thread

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a mapped @OneToMany list and an unmapped @OneToMany list are viewable: a.listA_mapped:[{A}[4]"ownedElement1", {A}[5]"ownedElement2"] a.listB_unmapped:[{B}[2]"b1", {B}[3]"b2"] ... [ ] args ) { String $connection = "objectdb:db/TestLazyOneToMany.tmp;drop" ; ... Persistence . createEntityManagerFactory ( $connection ) ;   EntityManager em = emf. ...

 
forum_thread

Spring Data JPA

Hello! When i configure Spring Data JPA to use ObjectDB 2.4.0_03 i get an exception when the context starts. ... on the entity manager factory and this initiates a connection to the server with username and password "anonymous".  If i add ... that ObjectDB manages the Metamodel , which involves a connection to the database. In obtaining that connection outside an ...

 
issue

huge heap usage

we are using objectdb 2.7.2_6. At a custumer we have huge problems with the memory consumption (see the heap dump attached). The database size is pretty small (1.4 GByte). Any idea ? Bug Version: 2.7.2 Priority: Normal Status: Closed Replies: 6 Type:  Bug ...

 
release

2.3.4

... ). Fixed handling ;drop in client-server connection url. Fixed performance issue ( fetch optimization ) ... Fixed Explorer bugs: editing embedded objects and using connection urls. Fixed a NullPointerException on using a ...