About files

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

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

 
issue

javax.jdo.JDONullIdentityException: The identity must not be null.

When stopping my JEE 6 Web Profile application in Glassfish 3.1.1, I sometimes get this exception, yielding in not merging athene.odb and athene.odb$. A bug in objectdb?    bjjl@ps2:~$ ls -l /var/db/athene/ total 122080 -rw-r--r-- 1 bjjl webservd   2621440 2012-05-24 16:40 athene.odb -rw-r--r-- 1 bjjl webservd 122265952 2012-05-24 16:40 athene.odb$ bjjl@ps2:~$   Bug Version: 2.4.0 Priority: Normal Status: Fixed Replies: 4 Type:  Bug ...

 
forum_thread

Empty query results after JAR creation

Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and executed via "Java -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report the same issue. I've created a small test case (attached zip file) with sample DB to reproduce the issue.  ... my application is working. The Size of both DB files is exactly the same, so I have no idea what the difference is or ... it in the Explorer. > The Size of both DB files is exactly the same There is a default initial database size so ...

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

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

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: ... I found the following stack trace in my log files; it's cropped up a number of times: [2013-08-23 14:05:23 #187 ...

 
forum_thread

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml file for example: #1 2011-09-13 13:40 Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml fil ...

 
release

2.6.2

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