About Explorer

forum_thread

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package-X.orm file, where X is a value passed to the PersistenceManagerFactory as the value of property "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB includes the DTD/XSD for this type of file, though I can't see a mention of it in the manual. #1 2013-03-12 17:07 I want to use sequences in JDO without using annotations. Normally this is done with a package-X.orm file, where ...

 
issue

Error during closing an entity manager

Hello, can you explain the the following exception? Caused by: com.objectdb.o._PersistenceException: Failed to read the value of field field com.btc.ep.architecture.bl.internal.dmos.types.NormalizedAccessPathImpl.accessPathRoot using reflection at com.objectdb.o._PersistenceException.b(_PersistenceException.java:45) ~[na:na] at com.objectdb.o.JPE.g(JPE.java:145) ~[na:na] at com.objectdb.o.ERR.f(ERR.java:56) ~[na:na] at com.objectdb.o.OBC.onObjectDBError(OBC.java:1560) ~[na:na] at com.objectdb.o.OBM.close(OBM.java:212) ~[na:na] Bug Version: 2.7.1 Priority: Normal Status: Fixed Replies: 12 Type:  Bug ...

 
forum_thread

Failed to read DB file while online backup is running

Hi, it happened already few times (seemingly randomly), that some db operation (read and also write) failed with an exception during an online backup of the same DB file was running and was close to finish its task. The version of ObjectDB I am running is 2.6.1.b02 Any idea what is causing this and how to avoid it ?   Stacktrace 1: #1 2015-06-10 12:48 Hi, it happened already few times (seemingly randomly), that some db operation (read and also write) fail ...

 
forum_thread

EntityManager JPA or JDO impl and different behavior

Hi, I have an issue with the EntityManager. My persistance XML looks like: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> ... to 2.3.4_03 I can no longer run objectdb server nor the explorer on Windows 7 64bit but it does work on linux.   ...

 
forum_thread

Query results are not up to date for entities, not primitives

When using the CriteriaBuilder to query, the retrieved list are not refreshed according to the latest updates. But, when using the JPQL Query, the list are refreshed. What is the problem? #1 2014-09-27 17:42 When using the CriteriaBuilder to query, the loaded list are not refreshed according to the latest updates. B ...

 
forum_thread

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. #1 2011-06-03 20:30 This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. This conce ...

 
forum_thread

OutOfMemoryError on search after update on DB created with DB Doctor

It looks like there may be an issue with the DB files created with DB Doctor in recovery mode. This is the scenario that results in the OutOfMemory exception problem (using Object DB 2.5.4_04): 1. We instruct Object DB to create a 1Gb DB file on initial start-up using: <database> <size initial="1024mb" resize="256mb" page="2kb" /> This happens as expected. #1 2014-03-11 01:36 It looks like there may be an issue with the DB files created with DB Doctor in recovery mode. This is the scenar ...

 
issue

Indexes broken after schema update

I don't want to keep creating these issues but the Exception tells me to :), I started a thread to see if anyone else has encountered this at http://www.objectdb.com/database/forum/484 ... up the same file and tested that I can open this with the explorer locally. Please try again. ...

 
forum_thread

Upgrade to Java 8 won't run

I've been using ObjectDB with Groovy 2.1 and Java 7 for nearly a year.  Today, I updated everything to the latest revs (Groovy 2.3.6, Java 1.8.0_25, and ObjectDB 2.5.7_05), and now my application fails when opening the database. It's dying on one of these lines:   emf = Persistence.createEntityManagerFactory (dbName)   em = emf.createEntityManager()   em.setFlushMode(FlushModeType.AUTO)   ObjectDB.em = em   ... the objectdb-2.5.4_04 or objectdb-2.5.7_05 explorer.  The only thing that seems to make sense is that Java 8 is the ...

 
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. ... but suspect the same issue occurs when running ObjectDB Explorer as there is roughly a 30 second delay each time I open the jar/switch ...