About files

release

2.6.5

... Fixed large transaction temporary files implementation ( feature request #255 ). Fixed a bug in ... #257 ). Added an option to use temporary files for very large transactions ( feature request #255 ). ...

 
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: ... one ObjectDB application or another utility that manages files, including the database file while it is open by 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? ... file is gone, but there are <name>_<v>.odb files where <name> is the name of my odb and <v> is apparently a ... tries to restore the database file from the odr files (which represent transactions). You can also restore the database ...

 
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".   ... ; import java. nio . file . Files ; import java. nio . file . Path ; import ... "objectdb.conf" ) ; if ( Files. exists ( objectDbConFile ) ) System. out . ... "log" ) ; if ( Files. exists ( logDirectory ) ) System. out . ...

 
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 ... external dependencies at this point since I use FXML files for all my UI. The problem I'm describing can happen just by ...

 
release

2.6.4

... Fixed large transaction temporary files implementation ( feature request #255 ). Fixed a bug in ... #257 ). Added an option to use temporary files for very large transactions ( feature request #255 ). ...

 
release

2.6.6

... Fixed large transaction temporary files implementation ( feature request #255 ). Fixed a bug in ... #257 ). Added an option to use temporary files for very large transactions ( feature request #255 ). ...

 
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: #1 2014-08-31 23:39 how do you handle connection pooling?  I don't understand how to open and close connection, or reconnect ...

 
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 ------- #1 2011-04-04 07:38 Hi,  I'm trying to migrate a small EJB 3.1 project from Postgres to ObjectDb to test out feasibi ...

 
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.... new empty database. By default it works only for database files with the temp / tmp file name extensions . ...