About file

tutorial

JPA Web App Tutorial - IntelliJ Project

Opening a JPA Maven web application project in the IntelliJ IDEA.... IDEA: Download and extract the project zip file: JPA Web Application - Maven Project (6KB) . Open the project in IntelliJ IDEA: Select File > Open Project... . Select the guestbook-web directory and ...

 
tutorial

Java EE 6 JPA Tutorial - IntelliJ Project

Opening a Java EE 6 JPA Maven web application project in the IntelliJ IDEA.... IDEA: Download and extract the project zip file: Java EE 6 JPA Web App - Maven Project (6KB) . Open the project in IntelliJ IDEA: Select  File > Open Project... . Select the  guestbook-jee6 directory and ...

 
forum_thread

JPA Configuration without persistance.xml

Hi,   I've been using Hibernate with JPA, and found it too slow, so am moving my project to use ObjectDB. My Jar is being held inside another application, so I don't want to have to rely on a persistance.xml file being in a particular place. When using Hibernate, I was able to do the following: ... so I don't want to have to rely on a persistance.xml file being in a particular place. When using Hibernate, I was able to do the ... When using ObjectDB the persistence.xml is file optional . Just annotate the classes and use them. ...

 
tutorial

Step 6: Set the Spring XML

Explains how to set XML in an Eclipse Spring MVC JPA web application project.... dispatcher servlet to the  web.xml configuration file and to configure that servlet using another xml configuration file. Open the  web.xml file (under src/main/webapp/WEB-INF) in a ...

 
forum_thread

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB 1 (with an OID for every instance) and all other classes were embedded (so without extent and own OID) in those few peristence-capable ones. Example of JDO metadata: ... files. After conversion I got a slightly smaller file with same number of objects (e.g. 3,3GB old file -> 3GB new file). However after using the v2 database in the ...

 
forum_thread

Corrupted Database or error in ObjectDBExplorer?

Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   We observe the error if we try to open the Tree or Table Window for com.btc.ep.analysis.test.bl.internal.dmos.RequirementBasedTestCaseImpl  (its the 9th entity)   ... Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem ... problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... the L2 cache and use 1 MB for the ObjectDB Datastore page file cache with page file size of 64 KB.  Here are relevant objectdb.conf settings: ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave ... server normally and then you should not have a recovery file (ended with $) with the master server. This procedure is required only ...

 
issue

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

Hi, ... up into the wrapper, which writes them to it's log file.  The stack traces do show that the Exceptions are originating from ... 813-562-0116 service.log file with Exceptions from ObjectDb code ...

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... on the server side: Cache of database file pages . Cache of query programs . Cache of ... Per persistence unit in the persistence.xml  file. Per entity class - using annotations. ObjectDB ...