About removed

forum_thread

Type ... is not defined as an entity (@Entity is missing) (error 302)

Hello, I am using ObjectDB 2.2.8_08 with eclipse 3.6 and Groovy objects. I am attempting to persist an instance of CultureRqst in the project com.epimss.lab by using a Connection class imported from the project com.epimss.admin.   I can access the database OK, but attempting to persist the CultureRqst leads to the following exceptions: #1 2011-08-01 19:12 Hello, I am using ObjectDB 2.2.8_08 with eclipse 3.6 and Groovy objects. I am attempting to persi ...

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database.... not a managed entity (including entity objects in the New, Removed or Detached states). If the object does not exist in the database ...

 
forum_thread

Duplicate Entity class names causes Exception in Query

I have two Entities which have the same class name but reside in different packages, only one of them is mentioned in the persistence.xml. I a NamedQuery I use the unqualified class name of one of these entities. If I execute that query I get an exception;   ... well I am getting the class not found error again ( I have removed the 2nd mode project and duplicate class names ). The error goes away ...

 
forum_thread

PersistenceException: Failed to locate field

Hi, have recently been running into this issue when changing the schema: com.objectdb.o._PersistenceException: Failed to locate field in this case, adding a primitive String field to an Entity. pretty sure that in the past schema evolution would not have triggered errors, is this case, a simple new field, shouldn't the policy be to add a null in that field, or other default for that primitive. ... ( "app.model.*" ) ; Note: I removed programmatic many years ago because of some issue which I believe may ...

 
forum_thread

IN expression in a Criteria Query

Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is written that ObjectDB is 100% compatible with JPA. However, I have problem with this JPQL query: SELECT e FROM Employee e WHERE e.present = false AND NOT EXISTS (SELECT c FROM Computer c WHERE c.employeeEntity = e) ORDER BY e.name with Hibernate, there was no problem with this query, but ObjectDB throws exception: #1 2013-04-23 14:23 Hello, I am trying to migrate my Spring project from Hibernate to ObjectDB. On ObjectDB page, it is writt ...

 
page

ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... automatically. Removed fields are handled automatically. ...

 
forum_thread

ArrayIndexOutOfBoundsException

Hi, I've been getting the following exception when trying to query ObjectDB in server mode version 2.3.4_05. ... which I thought didn't exist. I've removed the old classes, recreated the DB and is back to normal working now. ...

 
forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec? #1 2010-12-08 23:57 I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to ...

 
forum_thread

ODB IndexActivation NullPointerException

Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create first query, NullPointerException is thrown: #1 2016-04-23 09:55 Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create fir ...

 
forum_thread

Failover from Master to Slave

Good morning! I am interested in ObjectDB for a client project I am currently working on. In order to evaluate your tool I would like to know if your product has the ability to failover from a Master Database to a Slave Database and then recover back to the master when the master comes back online. I don't see any documentation about automatic failover.   Thanks Rich   #1 2014-02-19 18:44 Good morning! I am interested in ObjectDB for a client project I am currently working on. In order to eva ...