About generated

forum_thread

Indexing a field results in internal Exception

I have an application that I have been converting from JPA/MySQL to JDO/ObjectDB and I have hit a problem with indexing. An index on a String field is required to give good performance but if I add the @Index annotation to the field I eventually end up with an ObjectDB internal exception.  This is reproducible, as is the program running to completion (slowly) if I remove the @Index annotation.  Is there anything I can look for that might result in this exception? ... [ObjectDB 2.5.0_01] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_11 (on Linux ...

 
release

2.0.0

Release date: 2010-09-26 Download (3.39 MB) Binary:  objectdb-2.0.0.zip ObjectDB 2 is already in use in production in several applications and is ...

 
manual

Online Backup

Online Backup enables backing up an ObjectDB database while it is in active use by applications. The ability to create a backup while the system is running is essential in applications and services that have to be available 24/7/365. An ObjectDB database can be backed up by simply copying or archiving the database file while the database is offline (i.e. when it is not open in an ObjectDB server and not in use by any application), since an ObjectDB database is stored as an o ...

 
issue

No Entity Class API

Both JPA and JDO are based on accessing and managing data in the database using persistable classes (mainly entity classes in JPA or persistence capable classes in JDO). Sometimes, it might be useful to access data without classes. For example, a tool that finds and replaces strings in the database should be generic and should not be bound to specific entity classes and persistent fields. An API for accessing (and maybe also modifying) data in the database without classes can be useful in some applications. Feature Request Version: Priority: Normal Status: Active Replies: 3 Type:  Feature Request ...

 
forum_thread

Vacuum - Reclaiming Unused Space In Odb

I was curious if you could assist me with a challenge we are having with our objectdb database.  Our odb files are about 50Gb in size and are written to about a million times a day with both adds and updates.  This is creating a lot of unused space in the database that we are wanting to reclaim.  Other database vendors provide a vacuum process to allow dumping a database to a flat file (basically a sql dump) and reload.  Is there a capability in ObjectDb to provide a vacuum?  The online backup feature appears to copy the dead space as well so isn't performing... effect by running the Doctor in repair mode . The new generated database is expected to be compacted. Currently this is available ...

 
tutorial

Step 4: Add a Controller Class

Explains how to add a servlet to a NetBeans Spring MVC JPA web application project. In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New > Java Class ... Enter Gu ...

 
tutorial

Step 4: Add a Controller Class

Explains how to add a servlet to an Eclipse Spring MVC JPA web application project. In this step we will add a Spring Controller to manage guestbook web requests: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting  New > Class . The package n ...

 
forum_thread

Why the internal error was thrown?

com.objectdb.o.InternalException at com.objectdb.o.CCH.H(CCH.java:298) at com.objectdb.o.CCH.E(CCH.java:155) at com.objectdb.o.QRM.Vo(QRM.java:226) at com.objectdb.o.MST.Vo(MST.java:988) at com.objectdb.o.WRA.Vo(WRA.java:311) at com.objectdb.o.WSM.Vo(WSM.java:115) at com.objectdb.o.QRR.g(QRR.java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719) ... [ObjectDB 2.6.8_01] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_51 (on Windows 7 6.1). Please ...

 
forum_thread

Intermittent: "Attempt to reuse an existing primary key value" when persisting a new instance

Hi,   I don't have a useful test case to expose this issue, but I am getting an intermittent "Attempt to reuse an existing primary key value". In this particular instance, the error is: #1 2011-07-18 11:23 Hi,   I don't have a useful test case to expose this issue, but I am getting an intermittent "At ...

 
forum_thread

Criteria query error: Unexpected query token

Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it by getting back all instances (e.g. findAll, I get the following error:   #1 2011-04-09 10:27 Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it b ...