About files

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

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

 
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]... wrapped by a try-catch block (unlike code working with files and I/O, for example, in which handling a checked exception, such as ...

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

 
release

2.6.1

... Fixed some bugs in converting old ObjectDB 1.x database files to ObjectDB 2.x. Fixed a bug in comparing String based ... in client-server mode. Fixed enhancing class files that use INVOKE DYNAMIC. Fixed an error message in ...

 
release

2.6.3

... #257 ). Added an option to use temporary files for very large transactions ( feature request #255 ). ... Fixed some bugs in converting old ObjectDB 1.x database files to ObjectDB 2.x. Fixed a bug in comparing String based ...

 
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. #1 2016-06-27 11:16 Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectD ...

 
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 ...   #1 2011-03-30 13:10 Hi. Is there a conversion tool or documentation that is of help when migrating an existing JP ...