About file

forum_thread

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the new schema automatically between test cycles. Is there a simple way to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks ... with ObjectDb, or is the only way to delete the database file everytime? Thanks ... You can delete the database file (and associated files if any) using your code, e.g. new ...

 
forum_thread

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data. ...   Emil BD file with records that have a wrong value in the time only field startTime. ... Maximum file size: 32 MB 0 ...

 
tutorial

Step 6: Set the Spring XML

Explains how to set XML in a NetBeans Spring MVC JPA web application project.... Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under Web Pages > WEB-INF) in a text ...

 
tutorial

Step 2: Entity Class and Persistence Unit

Explains how to define a JPA entity class and a persistence unit (persistence.xml) in an Eclipse Spring MVC web application project.... Use  copy and paste to replace the new source file content with the following code: package guest ;   ... JPA by setting a  META-INF/persistence.xml file: Right click the src/main/resources node (in the [Project ...

 
release

2.6.0

... #237 ). Fixed porting to Java 8 of database file with unexpected HashMap.Entry as a listed type. ... a new temporary system property ("objectdb.temp.quick-file") to accelerate db opening and closing. Improved connecting ...

 
manual

Online Backup

Online Backup enables backing up an ObjectDB database while it is in active use by applications. The ability to create a backup while the system is running is essential in applications and services that have to be available 24/7/365.... be backed up by simply copying or archiving the database file while the database is offline (i.e. when it is not open in an ObjectDB ... since an ObjectDB database is stored as an ordinary file in the file system.  ObjectDB 2.1 introduces support of ...

 
release

2.5.6

... a new temporary system property ("objectdb.temp.quick-file") to accelerate db opening and closing. Improved connecting ... #149 ). Improved performance of database file extending. Fixed a bug in ignoring global cascade persist in ...

 
api-jdo

getPersistenceManagerFactory(propsFile)

Returns a PersistenceManagerFactory configured based on the properties stored in the file at propsFile.(Static Method of javax.jdo.JDOHelper)

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... Could you please provide the database as a single file (possibly as a link to a resource on the Internet if it is too large), as ... the database with no recovery (e.g. if the database file was moved or copied to another location without the recovery file). ...

 
release

2.5.7

... a new temporary system property ("objectdb.temp.quick-file") to accelerate db opening and closing. Improved connecting ... #149 ). Improved performance of database file extending. Fixed a bug in ignoring global cascade persist in ...