About file

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.... Diagnosis and validation of an ObjectDB database file Checks a given ObjectDB database file, verifies that it is healthy and valid, and if the file is not valid (it ...

 
manual

Server User List

Explains how to define and set users, directories and permissions in the ObjectDB fast Java database server for JPA/JDO.... permissions, quota). The default configuration file contains the following <users> element: <users > ... permissions attribute specifies which database file permissions are granted. The comma separated string value may contain ...

 
manual

JPA Persistence Unit

Explains how to define a JPA persistence unit in the persistence.xml file.... Persistence units are defined in a persistence.xml file, which has to be located in the META-INF directory in the classpath. One persistence.xml file can include definitions for one or more persistence units. The portable ...

 
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: ... time on one machine - each application is using an ODB file (each one is using a different one). Basically each application does a ... Attempt to open a non existing file ... the sorted query is creating/using a SortQueryItr_6.mrg file - but b/c there are several applications running at the same time - maybe ...

 
faq

Is ObjectDB scalable? What are its limitation?

... ObjectDB supports: Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB). Up to 2,147,483,648 entity classes per database file. Up to 2,147,483,648 indexes per database file. ...

 
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"); ... error message: Failed to create a new file ... ) that you can define the odb home in a config file. But where to I find the config file in my project? edit ...

 
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. ... 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 ... in version 2.4.0. Please check if the recovery file ( odb$ ) is empty, and if it is - just delete it and restart the ...

 
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  ... Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create ... 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 ...

 
manual

Server Configuration

Explains how to set a JPA/JDO database server using ObjectDB, the fast Java object database for JPA/JDO.... is affected also by other elements in the configuration file, particularly the <users> and the <ssl> configuration elements. The default configuration file contains the following <server> element: <server ...

 
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 ... 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 ... converting to objectdb 2.x, no row was present the odb file.  But when i deleted new old file and tried again using converter, it ...