About Enhancer

forum_thread

Error when using Object DB Java Agent

Hello! We are using the Java Agent while developing our application because it's not possible to tell IntelliJ to enhance the classes after compiling them. Without enhancing it's painfully slow. So we are using the agent as a workaround while JetBrains is investigating the issue. Our production code is built with maven and the classes are compile time enhanced. With the agent we have a problem. In a couple of our projects this exceptions gets thrown when we initialize logback: ... com.objectdb.o.JEW.aG(JEW.java:185) The Enhancer has to load referenced classes for this calculation, and apparently ...

 
forum_thread

pesimistic Lock semantic

Hi   I have tested pesimistic lock and the result was for me unexpected. In the first transaction i modified one object and in the second transaction i wanted to the same and  I got an exceptopn that lock could not be granted, quite nice but in that moment I wanted commit the first transaction and I also got lock exception. this the test:   public void testPesimisticLock() {   PersistenceManager pm1 = null;   PersistenceManager pm2 = null; #1 2011-07-19 08:34 Hi   I have tested pesimistic lock and the result was for me unexpected. In the first transaction i ...

 
forum_thread

NullPointerException while setting a new property value

Hello, we are using ObjectDB version 2.4.4 and we are unable to resolve following NPE on enhanced entity: java.lang.NullPointerException at com.objectdb.o.ENT.beforeModifyMember(ENT.java:1099) at model.PluginMetaData.__odbSet_maxAllowedDownloads(PluginMetaData.java:1) at model.PluginMetaData.setMaxAllowedDownloads(PluginMetaData.java:268) at model.PluginMetaData.setPluginDescriptor(PluginMetaData.java:94) PluginMetaData looks like this (nothing extraordinary, no relationship to other @entities): #1 2012-10-22 22:34 Hello, we are using ObjectDB version 2.4.4 and we are unable to resolve following NPE on enhanced entity: ...

 
manual

Updating JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... way to detect changes automatically is described in the Enhancer section in chapter 5. However, detecting changes to arrays ...

 
forum_thread

Verify Error with Java 1.7

ObjectDB enhanced classes fail when compiled to Java 1.7 [ObjectDB 2.2.9_08 Enhancer] 28 persistable types have been enhanced: ... com.vaisala.jx.db.gdm.model.SourceType stack trace from jUnit test ... compiled to Java 1.7 [ ObjectDB 2.2.9_08 Enhancer ] 28 persistable types have been enhanced: ... ... Unfortunately the Enhancer fix was broken. Build 2.2.9_12 fixes it and in addition also ...

 
forum_thread

Integration

Hi,   Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction Management and DAO Support?   Regards, #1 2010-12-01 18:37 Hi, Is there a way to integrate ObjectDB with Spring Framework to add the benefits of Transaction Managem ...

 
forum_thread

AttachNotSupportedException

Good morning, OS: Windows Server 2008 R2 64 bit Java: Java Server JRE 8u121 for Windows x64 ObjectDB: version 2.6.9 build 5 Problem description: ObjectDB server will start and function normally (?) but an exception is logged: "java.lang.NoClassDefFoundError: com/sun/tools/attach/AttachNotSupportedException" (see attachment to this thread). #1 2017-01-31 10:30 Good morning, OS: Windows Server 2008 R2 64 bit Java: Java Server JRE 8u121 for Windows x64 ...

 
release

2.0.5

Release date: 2011-02-06 Download (3.4 MB) Binary:  objectdb-2.0.5.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

Retrieval by Access bug?

Dear Sirs, I have an object A, that has a OneToMany FetchType.EAGER List of objects B, that has a field with a reference to an object C. I have this code: ClassA objectA = em.find(ClassA.class, 1); for (ClassB objectB : objectA.getListB()) {     ClassC objectC = objectB.getObjectC(); } em is an open Entity Manager with a running transaction. #1 2016-04-10 22:23 Dear Sirs, I have an object A, that has a OneToMany FetchType.EAGER List of objects B, that has a fi ...

 
release

2.2.6

Release date: 2011-06-02 Download (5.13 MB) Binary:  objectdb-2.2.6.zip You should start by following a  tutorial or reading the manual ...