About file

forum_thread

OutOfMemoryError on search after update on DB created with DB Doctor

It looks like there may be an issue with the DB files created with DB Doctor in recovery mode. This is the scenario that results in the OutOfMemory exception problem (using Object DB 2.5.4_04): 1. We instruct Object DB to create a 1Gb DB file on initial start-up using: <database> <size initial="1024mb" resize="256mb" page="2kb" /> This happens as expected. ... 1. We instruct Object DB to create a 1Gb DB file on initial start-up using: <database>   <size ... This happens as expected. 2. We use the DB file to store about 540 thousand records. At this stage there is no problem ...

 
forum_thread

Doctor - high memory usage

Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting for this database is about 650MB. It's about ten times of size of database. ... You may try decreasing the temporary file threshold . The Doctor will use less memory and more temporary ... still need about 450MB of heap space to only scan database file. edit ...

 
release

2.6.7

... Added an option to write javaagent enhanced classes to file ( for diagnosis ). Extended temporary files support to ... in the same transaction. Fixed temporary file management for very large transactions ( feature request #255 ). ...

 
api-jdo

javax.jdo.JDOHelper

This class can be used by a JDO-aware application to call the JDO behavior of PersistenceCapable instances without declaring them to be PersistenceCapable.(Class of JDO)

 
forum_thread

Enhancement API - NullPointerException

Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my.package.Foo"); However, I get the following NullPointerException: ... Are you trying to enhance classes that are packed in a jar file? On the fly enhancement by calling ... That was indeed the case, the classes were in a JAR file. Thank you for the quick reply! ... Maximum file size: 32 MB 0 ...

 
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 ...

 
tutorial

Spring MVC JPA Tutorial - IntelliJ Project

Opening a Spring MVC JPA Maven web application project in the IntelliJ IDEA.... in Download and extract the project zip file: Spring MVC JPA - Maven Project (7KB) . Open the project in IntelliJ IDEA: Select  File > Open Project... . Select the  guestbook-spring 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 ...