About check

manual

JPA Metamodel API

Explains how to use the JPA Metamodel API to retrieve details on the types and attributes of the persistent object model. The JPA Metamodel API provides the ability to examine the persistent object model and retrieve details on managed classes and persistent fields and properties, similarly to the ability that Java reflection provides for general Java types. ...

 
forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System ... mode = "write" /> <locking version-check = "true" /> <processing cache = "256mb" ... it doesn't, please post your test and we will try to check this issue further. ObjectDB Support ...

 
forum_thread

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : <URI>::=(<sUrl>, <cMark>, <iSize>, <baBody>, <id>) <sUrl>::=String <cMark>::=char <iSize>::=int <baBody>::=byte[] <id>::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, ... with images indeed 2 times of the original size! You can check it by repeating insertion of   a pic of multiples. I can not send ... 17:44 You should check your code, especially the conversion of images to byte[] - maybe ...

 
issue

TYE NullPointerException

I've been seeing the following stack trace in a couple of tests today: ... data so it looked like object wasn't loaded for the check but by looking at it in the debugger a load was forced. I put a simple loop iteration in front of the check to force a load (and prove the object was not detached) and could not ...

 
issue

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I could come up with without replicating the whole system. The test creates an object, persists it to a db and re-loads it. The EntityManager is closed before accesing any fields. Finally the nested map is accessed and printed to screen. ... That's odd... I went back to double check and I'm definitely using 2.3.2_04. I had a play with a few options ...

 
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.  ... the DB file. That file is probably empty you can check it in the Explorer. > The Size of both DB files is ... be? Probably this can be done automatically. Check that the initial database in the resources is not empty. ...

 
forum_thread

system exception occurred during an invocation on EJB GuestDao

Hi, I am new to ObjectDB I was trying your eclipse/jee6/glassfish tutorial. Eclipse Luna, Glassfish 4. I am getting the following exception (see below) just after deploying the project. Can someone help me ?  Thanks ... may have missed one of the tutorial steps. Particularly check your persistence.xml file. If you cannot find the problem try ...

 
release

2.4.0

... Removed  Conflicting modifiers  validation check and error message. Version 2.3.0 Added the ...

 
issue

Use temporary files to enable very large transactions

We have transactions in which many objects are created. These objects are no longer needed in the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception because the objects are kept in the first level cache of ObjectDB. In the forum thread http://www.objectdb.com/database/forum/921 on post #4 you wrote, that ObjectDB should support very large transactions in further version. Can you implement it that ObjectDB used temporary files? ... the maximum transaction size can be 100GB. Please check if this is sufficient for your current needs. ... /> <locking version-check = "true" /> <processing cache = ...

 
forum_thread

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

Hi, I upgraded the odb file using converter.jar which is having 15943 entry. Previously, with object 1.x, the same query was getting executed within an seconds and now the same is taking around 40 seconds in object db 2.x I have build the query using the follwoing Query query = persistanceManager.newQuery("LogEntryAttrebuteImpl.calss", "typeIndexes.contains(this.type) && logEntryIdList.contains(this.logEntryId)"); ... 08:10 Thanks. i will check it and let you know. I will use the following command after i convert ... need to run the Doctor ? Do you have any utilies to check if database requires some repair or something ? Otherwise, i have to do ...