About path

release

2.3.7

... in enhancement of more than one class path root ( issue #82 ). Fixed a NullPointerException on ... PK embedded IDs. Fixed default ObjectDB home path ( $objectdb ) in NetBeans RCP . Fixed a Doctor and ... mode. Fixed a bug in setting log directory path (missing URL decoding). Fixed a bug in automatic byte code ...

 
forum_thread

Object as parameter results in exception

Hi,    I've got a simple JPA2 Criteria query which fails when doing an object equality. I verified this against EclipseLink and over there, it works. I'll Attach some code snippets to help figure it out:   @Entity() public class Product{ . . . @ManyToOne     private Compamy owningCompany; } @Entity() public class Company{    .    .    .     @Id    private Long id; } and the query: ... did work (going to PostgreSQL). If I change my path expressions to point to basic java types (path expression pointing to id):   @ Override ...

 
issue

stress test -> com.objectdb.o.InternalException: null

I am running a stress test with 2 users, each making a request to the JSON API (which uses as storage ObjectDB) each 50 milliseconds. An API call might have between 1-4 db calls, but they are relatively light, and the db has just a few MB at the moment. After a few minutes I got this exception. If I decrease the load, it doesn't happen. If I increase it, I get it very often. Any solution/fix? A sample project is very hard, if not impossible, to create, because it uses all the system. ... servlet [ rest_29133222 ] in context with path [ ] threw exception [ Error processing webservice ... servlet [ rest_29133222 ] in context with path [ ] threw exception [ Error processing webservice ...

 
issue

ObjectDB BIRT Driver Update

The ObjectDB BIRT/ODA driver is an extension of the open source Business Intelligence and Reporting Tools (BIRT) that adds support of ObjectDB as a data source and JPQL as a data set query language. ... (The system cannot find the path specified) java.io.FileNotFoundException: ... (The system cannot find the path specified) at java.io.FileOutputStream.open(Native Method) at ...

 
forum_thread

WebService : Failed to get reference value of field using enhanced method

Hi, I try to use objectdb from Tomcat Webservice without webservice it's works fine:   error: Failed to commit transaction: Failed to get reference value of field field persistence.PolicyEntity.policyString using enhanced method ... you have your classes in more than one place in the class path. If you cannot solve the problem - try to isolate it and to post a ... you have your classes in more than one place in the class path. no, all my classes situated in one place --- I ...

 
forum_thread

Database is locked when in use

I am oberving that when i reading anything from odbfiles, i am not allowed to copy and paste the odb files in the file system but the same i was able to do it in object db 1.0. We supprt export functionality and if i am not allowed to copy it in objectdb 2.x, then its a problem for us :-( Do you have any settings or other way to handle this? ... Is the second agruement a string <Dir Absolute path> or new File (diectory path);   edit ...

 
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.  ... an empty database. In your code you use a relative path to access the database: EntityManagerFactory emf = ... a new empty database will be created automatically in that path. ObjectDB Support ObjectDB - Fast Object ...

 
issue

ArrayIndexOutOfBounds with Critera API and function call

Hello, This is getting really frustrating sorry but we're close before delivering our app to our customer and went against a show-stopper again. We're building a simple query with the criteria api. What we have is something like (pseudo code) ... , Integer. class ) ( $1 is a valid path we 've goot from our root selector).   NOTE: Doing "$1.getAge()" ... , Integer. class ) ( $1 is a valid path we 've goot from our root selector) I cannot create yet ...

 
forum_thread

Start ObjectDB inside java code.

I am building an MMORPG with ObjectDB, and I use it both for the saving of character and inventory (permanent object), but also the storing of ability and maps information (object I load, use, and dispose and then reuse without having change anything). The problems is, as my server and client both run on the same machine and more than one client can be started, they all need access to this information without being able to share any thread, so am forced to use the server model. ...         <data path="$objectdb/db" />         ... still need a separate configuration file. Only the path of that this configuration file is provided as argument to main ( ...

 
release

2.3.6

... in enhancement of more than one class path root ( issue #82 ). Fixed a NullPointerException on ... PK embedded IDs. Fixed default ObjectDB home path ( $objectdb ) in NetBeans RCP . Fixed a Doctor and ... mode. Fixed a bug in setting log directory path (missing URL decoding). Fixed a bug in automatic byte code ...