About fix

forum_thread

ObjectDB without javax.persistence

Hello, what we need to do, that we can use a separate bundle for javax.persistence in a OSGi envoirement. We tried to use the objectdb-jee.jar instead of objectdb.jar. And a separate bundle for javax.persistence that only contains the Java Persistence API. So that the ObjectDB PersistenceProvider get visible for the JavaPersistenceAPI, we have registered the ObjectDB as Buddy. ... adding them to objectdb-jee.jar solves the problem we can fix it in future releases. ObjectDB Support ...

 
forum_thread

Embedding ObjectDB on server application

I'm trying to integrate ObjectDB as part of a server software I am developing. I'm a little lost at the connection file path for the persistent factory. So if I want to pass in the database file path, with relative path, where exactly is it relative to? So I did a test and just wrote: EntityManagerFactory emf = Persistence.createEntityManagerFactory("test.odb"); But I got: Exception: javax.persistence.PersistenceException Message: No Persistence provider for EntityManager named test.odb ... What can I do to fix it? edit ...

 
issue

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

Hello, we've encountered a problem leading to memory leaks. We found that after closing a transaction (including the entity manager) the ODB file writer still holds a reference to entities. Performing similar calls repeatedly hence increases the number of references to entities not longer needed in the application context. This prevents the garbage collector from cleaning up the memory which eventually results in memory leaks. The attached screenshot shows an example of this behaviour. Thanks in advance for your help. Bug Version: 2.7.1 Priority: Critical Status: Closed Replies: 2 Type:  Bug ...

 
forum_thread

disabling JDO in objectdb embedded mode

Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an example consider the following short example: ... ? Should I add additional maven dependencies to fix the problem ? (currently I only have objectdb.jar version 2.6.8) ...

 
issue

Improve ObjectDB Server

Improve ObjectDB Server to behave and feel more like a traditional db-server: - Remove SWING dependency (i.e. remove the tray icon or make it external from the core server) - Provide the possibility to easily install the objectdb as service on each system (requires removing swing dependency) - Keep it as a console-only app - Put important log info to the console as well - Provide possibility to not only create new databases but remove existing ones as well Feature Request Version: 2.2.3 Priority: Low Status: Active Replies: 1 Type:  Feature Request ...

 
issue

objectdb.home for client/server

Currently, we do need to manually setup the objectdb.home property eventhough we're working on client/server mode. However, without setting this in our client, he complains about the missing objectdb.conf. Why is this required? Can't the server deliver it? Most of the time we do not even know where our object db home is located at as we might have multiple server instances running on multiple machines so all we do really need to supply should be the server connection url and no objectdb.home..   Alex Bug Version: 2.2.8 Priority: Normal Status: Closed Replies: 1 Type:  Bug ...

 
forum_thread

lockfiles in client/server mode

i have an objectdb server running on localhost as user "objectdb", spawned like so: java -server -cp /usr/local/share/objectdb/objectdb.jar: com.objectdb.Server -conf /etc/objectdb/objectdb.conf start it has naturally created and taken ownership of /tmp/ObjectDB. ... Build 2.3.7_14 should fix both issues: A temporary directory will not be created in ...

 
issue

How to change properties in urls2.xml ?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. Bug Version: 1.04 Priority: Normal Status: Closed Replies: 1 Type:  Bug ...

 
issue

NullPointerException in ENH.g(ENH.java:401)

Hello, corresponding to your suggestion I created a private ticket in reply to http://www.objectdb.com/database/forum/1109. Attached you will find my database file (I removed most of the content but one corrupt instance is still included). Bug Version: Priority: Normal Status: Closed Replies: 2 Type:  Bug ...

 
issue

Lazy retrieval by access not working correctly

I have a problem loading lazy associations by access/navigation with an @Embedded attribute containing an @ElementCollection which is lazy loaded.  I'm not sure if the same problem exists elsewhere.  Furthermore, if I set a breakpoint in the right spot in debug mode, everything works correctly.  Without the breakpoint, my lazy collection does not get loaded.  Here are code snippets which should reproduce the problem. Bug Version: Priority: Normal Status: Closed Replies: 1 Type:  Bug ...