About manual

forum_thread

Problem using Maven Repository - Enitiy Class will be ignored

I found this suspect if i use the maven to download objectdb. <dependency>             <groupId>com.objectdb</groupId>             <artifactId>objectdb</artifactId>             <version>2.6.2</version> </dependency> I got follow Java Warning that tells me that Entity Class will be ignored. ... I read nothing about this issue in the manual.  It should be one more repositorys available for "jee". ...

 
tutorial

Step 7: Run the Spring Web App

Shows how to run the NetBeans Spring MVC JPA web application.... Learn more about ObjectDB and JPA by reading the Manual . ...

 
forum_thread

Using explorer with a live embedded db

I want to use ObjectDB explorer with a running embedded db. This issue:  http://www.objectdb.com/database/forum/617   shows a way to do it. I followed the instructions, but still received an error when trying to connect: "...database ... currently in use by another process" I used an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. ... elsewhere. Please read the explanations on this manual page , regarding where ObjectDB tries to find the configuration. ...

 
forum_thread

Replication Error

Hello! I try to get a replication setup working on two test servers. So i copied my test database to one of them, enabled recording and started odb. The dbname.odr folder got created so i think everything is ok. Afterwards i added the replication tag to the configuration of the second server and started it. The second server starts complaining instantly with the following Exception: ... it works. Why do i have to do this manually? The manual says that it gets copied automatically. ...

 
forum_thread

Query problem after transaction commit

I have a machine running the objectdb server and the client on another machine connect to it. The client program can connect to the server and query to get all the records. However, after transaction.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old records but only the latest stored record. I tried to run database explorer on the server machine and able to see all the records including the new stored record. #1 2016-11-16 17:32 I have a machine running the objectdb server and the client on another machine connect to it. The client program ...

 
forum_thread

Uninitialized primary key (id = 0)

Exception in thread "main" [ObjectDB 2.2.9_04] javax.persistence.RollbackException Failed to commit transaction: Attempt to reuse an existing primary key value (image.Meta:0) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) I check the db by explorer.jar, and find the only one record is id=0. What situation will be id=0? TIA #1 2011-08-26 05:26 Exception in thread "main" [ ObjectDB 2.2.9_04 ] javax. persistence . RollbackException Fai ...

 
manual

JPA / JDO Class Enhancer

The Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. ObjectDB Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes ( entity classes , embeddable classes and mapp ...

 
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.... up to date, searchable online  Developer's Guide/Manual . ObjectDB Manual in PDF format is included in ObjectDB distribution download . ...

 
forum_thread

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build.xml for a NetBeans web app. My adapted build.xml works for both full project build and per-file compilation (with NetBeans "compile on save" off), but it is not yet perfect at only invoking the enhancer on entity files. For full project build the following works, by grouping entities under clearly named packages: ... Ant has a selector system (https://ant.apache.org/manual/Types/selectors.html) for use with <fileset> and a <contains> operator (https://ant.apache.org/manual/Types/selectors.html#containsselect), so one could select on files ...

 
tutorial

Step 3: Add a Main Class

Explains how to add the JPA tutorial Main class in Eclipse.... provided in the Quick Tour chapter of the ObjectDB Manual . The next step (and the last in this tutorial) is running the ...