About files

manual

Database Doctor

Explains how to use the ObjectDB object database Doctor tool to diagnose and repair database files and damaged Java/JPA/JDO objects.... the following topics: Corrupted Database Files Running ObjectDB Doctor Diagnosis Running ... Doctor Repair Corrupted Database Files Database files may be damaged and become corrupted due to various ...

 
manual

Server User List

Explains how to define and set users, directories and permissions in the ObjectDB fast Java database server for JPA/JDO.... > <quota directories = "5" files = "20" disk-space = "5mb" /> </dir > ... > <quota directories = "5" files = "20" disk-space = "5mb" /> </dir > ...

 
manual

JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file.... used. The mapping-file elements specify XML mapping files that are added to the default META-INF/orm.xml mapping file. Every ... manual can be replaced by equivalent XML in the mapping files (as explained below). The jar-file elements specify JAR files ...

 
faq

Is ObjectDB scalable? What are its limitation?

ObjectDB is highly scalable and can manage efficiently databases in a wide range of sizes, from a few Kilobytes to hundreds of Gigabytes and even Terabytes. ObjectDB can be used in small embedded single user applications as well as in heavy loaded mu ...

 
forum_thread

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

Hi, I came across an error - but i have not been able to create a simple reproducible case - the error does not happen often and does not happen always -  Let me explain: 1/ I run 5 java applications at the same time on one machine - each application is using an ODB file (each one is using a different one). Basically each application does a sorted query ( qqq = em.createQuery("SELECT bk FROM OBN bk ORDER BY bk.time ASC", OBN); ) 2/ after a little while - some of the applications throws this error message: ... ObjectDB deletes its temporary files in 2 ways: Every process deletes its own temporary files that become unreachable (tracked by using weak references). ...

 
forum_thread

odb files and config file

Hi, I used the tutorial (http://www.objectdb.com/tutorial/jpa/eclipse/project) to use ObjectDB in my maven project. After that there was a db folder in src/main/java/webapp/WEB-INF/. But there were no obd files in it. I'm getting my EntityManager by doing this: EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/account.odb"); ... in src/main/java/webapp/WEB-INF/. But there were no obd files in it. I'm getting my EntityManager by doing this: ... ) ; I looked for the odb files and found it somewhere in my workspace metadata (eclipse plugins). What ...

 
forum_thread

Recovery file does not match db file

Just rebooted my production server, which had been running fine for months. When it came up, these errors started: ObjectDB 2.3.1_03] javax.persistence.PersistenceException Recovery file '/auctionologies/java/storage.odb$' does not match db file '/auctionologies/java/storage.odb' (error 145)  at com.objectdb.jpa.EMF.createEntityManager(EMF.java:176) at javax.persistence.EntityManagerFactory$createEntityManager.call(Unknown Source) Note: other than reboot the machine, I didn't do anything else. ... 14:52 recovery files aren't completely empty (though are tiny, around 306 bytes). confirmed that problem is resolved when the recovery files are deleted, does'nt seem to be any data loss. not currently ...

 
forum_thread

creating EntityManager on odb file created on Mac 64bit on Windows 32bit

Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create an EntityManagerFactory and later EntityManager on this file, every thing is working fine. But, when I transfer this program and odb file to Windows XP 32bit it crashes while creating EntityManager. Do you have any idea why does it crash? Thanks, Marcin  #1 2013-04-26 17:48 Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create an E ...

 
manual

Server Configuration

Explains how to set a JPA/JDO database server using ObjectDB, the fast Java object database for JPA/JDO.... = "0" /> <data path = "$objectdb/db-files" /> <!-- <replication ... element <data path = "$objectdb/db-files" /> The <data> element has one attribute, ... set on the data directory, its subdirectories and database files, to enable operations of the server process. When connecting to ...

 
forum_thread

Reading 1.x odb files in ObjectDB 2.x without upgrading

Hi, We have a problem in the backward compatibilty in our software as once we have migrated object db odb file from version 1.x to 2.x, user is unable to open the odb files in the application which is having object db 1.x installed. Is there any way to read odb files from 1.x in object db 2.x without upgrading it ? Or user can see the content in read only mode without upgrading it ? Thanks ... from version 1.x to 2.x, user is unable to open the odb files in the application which is having object db 1.x installed. Is there any way to read odb files from 1.x in object db 2.x without upgrading it ? Or user can see the ...