About READ

issue

Error during closing an entity manager

Hello, can you explain the the following exception? Caused by: com.objectdb.o._PersistenceException: Failed to read the value of field field com.btc.ep.architecture.bl.internal.dmos.types.NormalizedAccessPathImpl.accessPathRoot using reflection at com.objectdb.o._PersistenceException.b(_PersistenceException.java:45) ~[na:na] at com.objectdb.o.JPE.g(JPE.java:145) ~[na:na] at com.objectdb.o.ERR.f(ERR.java:56) ~[na:na] at com.objectdb.o.OBC.onObjectDBError(OBC.java:1560) ~[na:na] at com.objectdb.o.OBM.close(OBM.java:212) ~[na:na] ... Caused by: com.objectdb.o._PersistenceException: Failed to read the value of field field ... by: com.objectdb.o._PersistenceException: Failed to read the value of field field ... omitted Caused by: com.objectdb.o.UserException: Failed to read the value of field field ...

 
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: ... with @Startup can access the database OK for both read and write, suggesting that the orm.xml is found OK and that the sequences ... by: com.objectdb.o._PersistenceException: Failed to read a resource '/META-INF/orm.xml' (referenced from persistence.xml) ...

 
forum_thread

Debuging query before execution

Hi, Is is possible in any way to get string representation of a query right before execution, after setting parameters? Of course it's easy to print out query string when we build it by concatenating many strings, but even then we miss attributes. ... On the other hand multi line query can be tough to read from log files. I was thinking about this functionality in context of ... Reply Please read carefully the posting instructions - before posting to ...

 
issue

How to change properties in urls2.xml ?

Hello, I am using objectdb in an embedded case with network private access to each database. I see it exists a file name "urls2.xml". <url><main>/var/lib/tomcat7/db/myDb.odb;user=admin;password=admin</main><alt>objectdb://127.0.0.1:38059/;user=$code;password=a2e54ea3-d889-41a7-953c-dabc42877742</alt></url> This file is autogenerated by objectdb. And it describes the locals databases url and their port / user / password properties. ... forum and not to the issue tracking system. Please read and follow the posting instructions . The post was moved to the ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Can you implement fastest Native JPA for MySQL by ClusterJ like?

Hello , I've read some docs : http://biemond.blogspot.com/2010/04/super-fast-jpa-with-mysql-cluster-and.html http://dev.mysql.com/doc/ndbapi/en/mccj-using-jpa.html   ... Hello , I've read some docs : ... Reply Please read carefully the posting instructions - before posting to ...

 
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, ... at image.URIReader.read(URIReader.java:84)         at ... java : 277 ) at image. URIReader . read ( URIReader. java : 82 ) at image. URIReader . ... or a byte[]  in that same size with data that was read from a file. So please demonstrate your problem without external file ...

 
issue

[Explorer] Editing Database Files

Some features of ObjectDB 1 Explorer have not been implemented yet in the new Explorer of ObjectDB 2. The new Explorer of ObjectDB 2 is currently a viewer rather than editor, and database files are always opened in read only mode. The ability to create new database objects and edit existing database object has to be reimplemented in the ObjectDB 2.... rather than an editor. It always opens databases in a read only mode. The Explorer should support creating and storing new ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Understanding limitations of schema evolution

Hi, I am trying to understand the limitations of schema evolution and have read the material on http://www.objectdb.com/java/jpa/entity/schema as well as the link therein regarding manual schema update when changing a field’s name Yet, i am confused regarding how to handle the case where one re-factors a class by moving one if it's Fields to a different class. Is this case managable? Thanks... to understand the limitations of schema evolution and have read the material on http://www.objectdb.com/java/jpa/entity/schema as well as ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

ClassCastException on closing PersistenceManager

Hi, I am using ObjectDB 2.6.3.b03 via JDO. Today I got the following exception while closing the PersistenceManager after reading the DB: ... 14:38 I just read ur answer. Once the bug appeared, it was coming also after restart of the ... Reply Please read carefully the posting instructions - before posting to ...

 
forum_thread

Open several objectdb databases the same time

We tried to open objectdb databases from application and got following error: ... 4 more Is it possible to open object db files in read only mode from several application instances? ... What about database access performance (read/write speed) after re-configuring open a database with socket model? Do ...