About FROM

forum_thread

Reporting Engine?

New to java and objectdb - I am looking for a reporting engine to use with objectdb. Would birt work or is there something better matched? I am ideally looking for something template based with external template designer to customize the template.    ... Eclipse EE (using  Help > Install New Software...) from: http://www.objectdb.com/eclipse/ The plugin includes an ...

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

 
tutorial

Eclipse/JPA Spring MVC Web Tutorial

Step by step tutorial that demonstrates how to build a Spring MVC Java web application (with Servlet, JSP and a DAO Bean) in Eclipse using JPA.... Framework) will be downloaded automatically during build from Maven repositories. The Tutorial Steps This ...

 
forum_thread

Failed to write the value of field using reflection (error 363) on LAZY fetch

Hi There I am using ObjectDB 2.6.3. I get the following Exception when I try to read my entities with a query where I have set to use LAZY initalization. It fails when it tries to set a 1:n member (e.g. a Modell has several Artikels) . When I remove the LAZY hint on the query execution it works. Any hints why this can happen? The Mapping of class Modell and its member: ... ( String. format ( "SELECT e FROM %s e" ,classEntity. getSimpleName ( ) ) , ...

 
forum_thread

Problems using Maven Repo

I've worked around this by downloading "manually" but I don't seem to be able to resolve objectdb Maven dependency automatically - have the relevant repository entry etc. in my POM, Maven doesn't seem to be able to find anything. Wondering if there are some operational problems or if I should return to scratching my head. Many thanks ...   If i download the jar File from this site and add the Dependency as an SystemPath all works are fine. ...

 
forum_thread

Memory leak while merging parent with No Cascade annotation with children

Hello support, While tracking memory leak in my application i suspected a memory leak in the merging object db implementation. The test case is the following, just run and watch the "Memory Used" by comparing Cascade.ALL (or Cascade.MERGE ) to nothing. Tested with last version of Object Db ( 2.5.5_05 ) ... ;   //Getting the runtime reference from system Runtime runtime = Runtime. getRuntime ( ...

 
forum_thread

Explorer doesn't open file

Explorer doesn't open file...see attached error message and odb.  Explorer doesn't cleanly close the connection either (due to error I presume). Many thanks Russ ... type but it was in a super class and I missed it from an earlier re-factoring.  Odd how ObjectDb should persist the value ...

 
forum_thread

Source not found error after downloading ObjectDB 2.3.7_04

Code snippet: Properties prop = new Properties(); prop.setProperty("javax.jdo.PersistenceManagerFactoryClass","com.objectdb.jdo.PMF"); prop.setProperty("javax.jdo.option.ConnectionUR","local.odb"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(prop); PersistenceManager pm = pmf.getPersistenceManager();   I am getting an error Source attachment does not contain source for File PMF.class. ... found.  Basically the PMF.class is compiled from PMF.java and in the source file I am not able to find any PMF.java class. ...

 
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] ... Apparently the new build changed the exception from the one in #3 above to an optimistic lock exception. More information ... the optimistic lock exception and we fixed it in our code. From my sight of view this issue is fixed. ...

 
forum_thread

Shrinking Database Files

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   I thought I read something on the ObjectDB website (forum? 1.x manual?), which I cannot find now, that stated that the datastore file never shrinks when large number of objects are deleted and the only way to reclaim that space would be with Database Doctor. Is there a way to reclaim database file space? ... doctor in repair mode (i.e. building a new database file from an existing database). ObjectDB Support ...