About file

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

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 ...

 
manual

[ODB1] Chapter 5 - JDO Connections

The PersistenShows how to use database connections and transactions in JDO. ceManagerFactory interface represents a factory of database connections. Its main role is to provide PersistenceManager instances. The PersistenceManager interface represents a database connection. Every operation on a database requires a PersistenceManager instance. The Transaction interface represents a transaction on a database. Every operation that modifies the content of the database requires an active transaction.[toc hidden:1]... Specifies a database location. To access a database file directly using embedded mode, specify either its absolute path or its ... based on the specified properties. Using a Properties File Properties can also be specified in a file, as demonstrated by the ...

 
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 ...

 
release

2.6.1

... 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.3

... 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. ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... not work. The data gets lost. I attached a formatted log file. In the following, I consider the most important part of the log file. Before the update operation, I dump the properties of the object ...

 
forum_thread

migration path from JPA / Hibernate

Hi. Is there a conversion tool or documentation that is of help when migrating an existing JPA solution to ObjectDB? Any recommendations or known pitfalls when it comes to ...   ... and set ObjectDB as the provider in the persistence.xml file . About the data, currently you will have to migrate it by ... Maximum file size: 32 MB 0 ...