About Enhancer

page

What is new in ObjectDB 2.0?

... trips in JDO bulk operations (e.g. refreshAll). JDO Enhancer supports enhancing of complete JAR files. ...

 
page

How to upgrade from ObjectDB 1.0?

Explains how to upgrade from ObjectDB 1.0 to ObjectDB 2.0.... the new jar file and enhance your classes using the new Enhancer . Convert old database files using the ObjectDB converter: ...

 
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: #1 2011-04-05 15:44 I've got two objects: @ Entity public class EEvent {   @ I ...

 
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  ... get's loaded. The problem arises when the ObjectDB Enhancer tries to weave some GWT class of wich some dependencies are not on the ... 11:47 The ObjectDB Enhancer agent enhances only classes that are annotated with JPA/JDO/ObjectDB ...

 
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 :  ... 2.2.8_02] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in the following way :  @Override ...

 
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   ... Application still not working: [ObjectDB 2.5.0 Enhancer] 1 persistable type has been enhanced:     Association [ObjectDB 2.5.0 Enhancer] 1 persistable type has been enhanced:     ...

 
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: #1 2012-04-04 12:17 Hi, We have a problem where our database size grows over time more than expected. We've traced it dow ...

 
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: ... of the project. It's using the right version of the enhancer. There are no code errors. If I change everything back to ... incomplete. Try to rebuild everything and run the Enhancer on all your entity classes before starting the application. ...

 
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 = ""; #1 2014-01-02 12:04 After doing some memory related research in my program, I found a possible place for an enhancement of objectdb: ...