About file

release

2.6.5

... in the same transaction. Fixed temporary file management for very large transactions ( feature request #255 ). ... Added an option to disable temporary file deletion . Added support of using entity classes with ...

 
issue

EOFException

Not sure if you'll be able to help with this but I've had an application get into a state where it cannot access anything from the database - queries fail with the following exception: ... javax.persistence.PersistenceException Failed to read from file ... by: com.objectdb.o.UserException: Failed to read from file ... 11:01 The database file that you uploaded is corrupted and you must repair it using the ObjectDB ...

 
forum_thread

ODB lost?

I'm new to ObjectDB. While debugging small programs in single-step mode in NetBeans, the ODB appears to get corrupted or lost if I don't invoke close on EntityManager. If I re-run my program and get a new EntityManager, the instance behaves as if the data that was persisting is somehow gone. I noticed in the file system, indeed, the .odb file is gone, but there are <name>_<v>.odb files where <name> is the name of my odb and <v> is apparently a version number. Is there any way to recover <name>.odb? ... was persisting is somehow gone. I noticed in the file system, indeed, the .odb file is gone, but there are <name>_<v>.odb files where <name> ... using a debugger. ObjectDB identifies a database file that was not closed by the existence of a special empty file (a file whose ...

 
forum_thread

Can I Disable the Creation of the "log" Directory?

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   ... Up Questions".   In the objectdb.conf file (attached to forum thread mentioned above), I disable logging (by setting ... that ObjectDB doesn't use the objectdb.conf file in which you set the log path to empty, since apparently the only place in ...

 
forum_thread

Filename.odb$ Persisting Issue

Hi, I seem to have a frequent issue with my Filename.odb$ remaining in my /db directory after my program terminates which prevents me from running my program again due to a persistence error thrown by Eclipse. I can't seem to manually terminate the file either. I usually have to fully close Eclipse and wait a bit for it to remove itself. Any ideas why this happens? Thanks, Dragon ... by Eclipse. I can't seem to manually terminate the file either. I usually have to fully close Eclipse and wait a bit for it to ... those. So i'm still a bit confused on why this file lingers and why I can't delete it without waiting for it to kill ...

 
release

2.6.4

... Added an option to disable temporary file deletion . Added support of using entity classes with ... #237 ). Fixed porting to Java 8 of database file with unexpected HashMap.Entry as a listed type. ...

 
release

2.6.6

... in the same transaction. Fixed temporary file management for very large transactions ( feature request #255 ). ... Added an option to disable temporary file deletion . Added support of using entity classes with ...

 
forum_thread

connection pooling

how do you handle connection pooling?  I don't understand how to open and close connection, or reconnect. I've referenced the manual here, but where does this go:   The <connection> element   <connection port="6136" max="100" /> The <connection> element specifies how clients can connect to the server: ... 50. You can change it in the persistence.xml file , for example to maximum 100 connections: <property ... Maximum file size: 32 MB 0 ...

 
forum_thread

Jboss 6 persistence.xml startup error

Hi,   I'm trying to migrate a small EJB 3.1 project from Postgres to ObjectDb to test out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS.   Here is my setup: ------- Start persistence.xml ------- ... is required by JBoss. See the attached persistence.xml file. If the IDE requires specifying SQL driver, etc - specify default settings ... and later, if necessary, edit the persistence.xml file manually, following the attached sample file. Use ...

 
forum_thread

Database absolute filepath

Is there a line of code that can be used to print out my databases absolute path? I have set it as follows: EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/database/people.odb"); However, the data being shown in *\lib\objectdb\database\people.odb* is different than what is being used in the rest of the application so I think there might be more than one database somehow.... it works only for database files with the temp / tmp file name extensions . ObjectDB Support ObjectDB ... Maximum file size: 32 MB 0 ...