About not

forum_thread

Replicated cluster recovery

If I create a replicated database cluster as per http://www.objectdb.com/java/jpa/tool/replication what is the behaviour of the master database after a failure? For example, say I have MasterDB and SlaveDB in the cluster. If MasterDB goes offline the application will automatically switch to SlaveDB. When MasterDB comes back online it will have missed any activity that occured during the downtime. ... byte[], int, int, int) line: not available [native method] SocketInputStream.read(byte[], int, int) line: ...

 
issue

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

Hello, the following exception appears when we execute a query:   ... flushed updates, where these flushed updates are not found in the data store where they are expected to be temporarily stored. ...

 
forum_thread

Update Entity references if we change the type of an entity

Hello, we must change (extend) our entity model and therefor we convert the type of some entities. As example (like in the attached example): We have an EntityA that have a reference to an EntityB. ... Hello, the version with the new property can't not be used. We get exceptions for valid references. Example to ...

 
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. ... We create a large file deliberatly as we do not want Object DB to increase its size during operation and end up with ...

 
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. ... has never been tested, and objectdb-jee.jar has not been created for this purpose. This specific reported exception ...

 
forum_thread

Internal exception in objectdb-2.4.4_17.jar

Trying to read from ODB we are experiencing the following Internal Exception.  Any ideas? ... that you should use it for now. If the problem is not found and fixed and you will be interested in upgrading to new ObjectDB ...

 
forum_thread

Failed to write the value of field using reflection (error 363) on LAZY fetch

Hi There I am using ObjectDB 2.6.3. I get the following Exception when I try to read my entities with a query where I have set to use LAZY initalization. It fails when it tries to set a 1:n member (e.g. a Modell has several Artikels) . When I remove the LAZY hint on the query execution it works. Any hints why this can happen? The Mapping of class Modell and its member: ... transactions in a way that JPA managed entities will not be detached on exiting a method, please check Spring Framework ...

 
forum_thread

server.exe on 32bit and 64bit Windows

Is the server.exe compatible to start the objectdb server on Windows 64bit OS?  Or 32bit only?   ... successfully on Windows 7 Pro 64. But if they still do not work - you will have to use the old server_.exe and explorer_.exe until the ...

 
forum_thread

Extending model by "common entity"

Hi, I have a question about extending working model with one, common entity, that all other entities will inherit from. For example I have 2 different entities in database with some data:... - open it once in embedded mode from your application (not using the Explorer) - after rebuilding all the classes. ...

 
manual

CRUD Database Operations with JPA

Shows how to use Java/JPA to store, retrieve, update & delete.... that em , the managing EntityManager of p , is not mentioned explicitly when p is being updated. The EntityManager ...