About change

release

2.0.2

... Fixed a Server/Explorer class loading bug (after schema change). Fixed a bug in the ObjectDB Doctor Tool. ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... (even dummy) field in the object and see if it makes a change. There may be of course other reasons. There is no open issue in ...

 
forum_thread

NegativeArraySizeException on commiting a transaction

Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the DB and committing the transaction. I tried to repair the DB file with Database Doctor, but the same error is happening also on the fixed DB file. Btw. during fixing the DB file an Internal error was thrown (details here: http://www.objectdb.com/database/issue/285 ), but the fixing went on and created a new file. #1 2016-11-12 08:08 Hi, we started to get a java.lang.NegativeArraySizeException from ObjectDB upon changing an object in the ...

 
forum_thread

Remove a modified entity cause an optimistic lock exception

Hello, the following examples load and modify an entity, and load and remove the same entity. The first example 'SetAndRemoveIssue.java' is a simple java program which executes without errors. The second example is an OSGi program which fails with an optimistic lock exception. Both examples are equivalent, please execute SetAndRemoveIssue.java (in the OSGi example as a plugin-test). Can you explain the optimistic lock exception? #1 2015-11-09 07:46 Hello, the following examples load and modify an entity, and load and remove the same entity. The ...

 
manual

JPA Entity Fields

Explains how to define and use primary keys in JPA, including composite and embedded primary keys.... in use with an ORM JPA provider (such as Hibernate) or to change default field settings. For example: @Entity ... demonstrates using field and relationship annotations to change the default behavior. null values are allowed by default. Specifying ...

 
release

2.0.5

... Fixed a Server/Explorer class loading bug (after schema change). Fixed a bug in the ObjectDB Doctor Tool. ...

 
forum_thread

Tomcat + JPA Problem

Hi i tried to setup the example from your webpage (jpa - Tomcat with Ecplipse) and i always get this Error: [ObjectDB 2.1.0] class "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package   ... You can change it to absolute path and rebuild and redeploy the web application. ... WEB-INF directory but not in development one , can I change it to the development one because in building a war file it will use the ...

 
forum_thread

index - data rewrite

Hi we have found that applying indexes on an existing table erases the data. Are we doing something wrong. Thanks ... changed a name of a field (without declaring the schema change )? What data is missing? Complete objects? specific fields in ...

 
forum_thread

Updating existing persistence entries

I have stored some instances of MyObject via em.persist(myObjectInstance); I can fetch them and bind them to a kind of property editor in my app (it simply calls the setters to reflect gui editing actions). When I try to persist a object later on, I get an error like com.objectdb.o.UserException: Attempt to reuse an existing primary key value which makes sense to me but I'm missing a em.update() method. ... least I know of) to do something before and after a value change. I'm checking out ObjectDB as a thin replacement to ...

 
forum_thread

Dependency from enhanced classes to the objectDB library

Hello, we have a Question to the dependency from enhanced classes (required for license) to the objectDB library.... Hello, we don’t know how we must change the ContextClassLoader that is works. All our experiments have failed. ...