About getting started

manual

Paths and Types in JPQL and Criteria API

Explains how to use object expressions (path navigation, type) in JPA/JPQL. Instances of user defined persistable classes (entity classes, mapped super classes and embeddable classes) are represented in JPQL by the following types of expressions: Variables - FROM identification variables and SELECT re ...

 
manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database. New entity objects can be stored in the database either explicitly by invoking the persist persist(entity) EntityManager's method Make an instance managed and persistent. See JavaDoc Reference Page... method or ...

 
forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! #1 2016-01-14 06:54 Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following co ...

 
issue

Service terminated silently (crashed?)...is there any way to cause a crash dump?

After running without issue, uninterrupted for seven months, our instance stopped silently.  The contents of the log are as follows: Object DB log: ObjectDB Server started on port 6138. ObjectDB Server stopped. ObjectDB Server started on port 6138. ObjectDB Server stopped. ObjectDB Server started on port 6138. ObjectDB Server started on port 6138.  <--This is where I restarted the service.   Note there is no "Server stopped" before the final "Server started". ... are as follows: Object DB log: ObjectDB Server started on port 6138. ObjectDB Server stopped. ObjectDB Server started on port 6138. ObjectDB Server stopped. ObjectDB Server started ...

 
page

ObjectDB Download

... your IDE refer to one of the following tutorials: Getting Started with JPA and Eclipse Tutorial Getting Started with JPA and ...

 
forum_thread

Adding EntityListener Throws Unexpected Internal Exception

I tried adding EntityListener for a entity class and an exception was thrown. I followed similar as mentioned on the documentation but no luck. My entity class looks like below: #1 2014-10-20 17:46 I tried adding EntityListener for a entity class and an exception was thrown. I followed similar as mentioned on ...

 
forum_thread

Join performance in Objectdb

select count(e) from Meta e, ImageNet i, Page p where e.idImage=i.id and e.idPage=p.id; So simple a command cause me half an hour and is running now! Each table has about 160K records. What formula can predict the time for such counting? TIA ... System. out . println ( "Database population started." ) ; em. getTransaction ( ) . ... System. out . println ( "Query 1 started." ) ; ms = System. currentTimeMillis ( ...

 
manual

GROUP BY and HAVING clauses

Explains how to use the GROUP BY and HAVING clauses in a JPA/JPQL query. The GROUP BY clause enables grouping of query results. A JPQL query with a GROUP BY clause returns properties of generated groups instead of individual objects and fields. The position of a GROUP BY clause in the query execution order is afte ...

 
forum_thread

How to deploy an Objectdb project with Jboss AS 7?

Hi, I cannot deploy Guestbook project to Jboss AS 7. I followed the previous threads concerning the issue of deploying it to Jboss 6 but still cannot do it right. It still cannot find the provider. Is there an instruction how to deploy objectdb project to Jboss AS 7 step by step?   I used objectdb-jee.jar instead of objectdb.jar I used persistence.xml with the sentence <jta-data-source>java:/DefaultDS</jta-data-source>   ... (MSC service thread 1-16) JBAS015012: Started FileSystemDeploymentService for directory ...

 
issue

ObjectDB can't be activated

Hello, we are trying to activate objectdb on a virutalized debian 7 server, but do not have any success. Steps we made to activate the server: Bug Version: 1.04 Priority: Critical Status: Fixed Replies: 20 Type:  Bug ...