About enhancement

page

What is new in ObjectDB 2.0?

ObjectDB 2.0 supports many new features and improvements, including: Most of the features of the new JPA 2.0 and JDO 2.2 APIs. User defined IDs (primary key) and sequences. Support of unlimited index keys size. SQL like queries (" ...

 
page

How to upgrade from ObjectDB 1.0?

Explains how to upgrade from ObjectDB 1.0 to ObjectDB 2.0. Upgrade - Step By Step To upgrade an existing application that uses ObjectDB 1.0 to ObjectDB 2.0: Replace the old ObjectDB and JDO jar files with the new objectdb.jar file. Make sure that the old jar files are removed from the classpath ...

 
forum_thread

Error 363 - Failed to read value of inverse relationship

I've got two objects: @Entity public class EEvent { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @ManyToOne(optional=false) private ETown town; public ETown getTown() { return town; } public void setTown(ETown town) { this.town = town; } } And: ... enhanced classes. Your test seems to run fine with enhancement ( -javaagent:objectdb.jar ), so as a workaround try using only ...

 
forum_thread

Spring LTW Problem

Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load time weaving. (To get Jrebel working properly) So i added  #1 2012-02-23 17:52 Hello! I use ObjectDB with Spring. Today i tried to swich from AspectJ compile time weaving to load time ...

 
forum_thread

package not found running ObjectDB under OSGi

Hi I have created in Eclipse a new plugin from existing jar file and than I tried to enhance my classes (using Ehancer from that new bundle), however I got an error :  [ObjectDB 2.2.8_02] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in the following way :  #1 2011-07-25 13:00 Hi I have created in Eclipse a new plugin from existing jar file and than I tried to enhance my clas ...

 
forum_thread

Significant I/O costs during batch update or insert data.

Our application has some complex entities. We do batch update(merge detached entity) every 2 minutes. We find the period significant IO costs these days, and disappeared when turn off the batch updating. 1.ObjectDB is in embedded mode. 2.ObjectDB version is 2.3.7 3.Database file size is nearly 600mb and increasing. #1 2012-04-08 02:32 Our application has some complex entities. We do batch update(merge detached entity) every 2 minutes. We find the ...

 
forum_thread

Unable to persist TreeMap

import java.util.SortedMap; import java.util.TreeMap; import javax.persistence.Entity; //---------------- @Entity class Person { public SortedMap<String, String> memberships = new TreeMap<String, String>(); } //Person   #1 2013-06-04 14:44 import java. util . SortedMap ; import java. util . TreeMap ; import javax. persisten ...

 
forum_thread

Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: ... that the test works well also with previous builds when enhancement is used. So even though it is good that you reported the bug and it ...

 
forum_thread

Problem upgrading

Hello! We are trying to upgrade from 2.6.3 to 2.6.6. Now our application throws an exception. It's generating endless log files. I had to turn up Xmx to even see it before the JVM crashes. (Our web framework tried to show the exception on the client) I did a full rebuild of the project. It's using the right version of the enhancer. There are no code errors. If I change everything back to 2.6.3 it starts to work again. Any ideas? Best Regards   Here's a part of the output: ... (which fails due to unknown reason), so maybe the enhancement is incomplete. Try to rebuild everything and run the ...

 
forum_thread

Memory consumption of empty Strings

After doing some memory related research in my program, I found a possible place for an enhancement of objectdb: My program has several entities which contain many String. Often some of these String are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: String firstName = ""; ... research in my program, I found a possible place for an enhancement of objectdb: My program has several entities which contain ... empty String   one further possible enhancement: implement a setting, where the developer can specify which Strings ...