About Enhancer

forum_thread

What algorithm in find()

I test the time cost for find(), obtain a linear complexity with the following codes: #1 2011-05-24 23:44 I test the time cost for find(), obtain a linear complexity with the following codes: int iBlock = ...

 
issue

com.objectdb.o.InternalException

No idea what happened.  A simple getResultList() opearation. DB table affected size is ~ 26000 records, physical DB file size is ~ 8.5MB Thanks for any help ! Leon log file: ------------------------------------------------------------------------------------------------------------------------ [2016-07-13 19:58:12 #1 store] Database '/home/gsi/wdsync/db/Media_wdsync.odb' is opened by 12659@server Bug Version: Priority: Normal Status: Closed Replies: 2 Type:  Bug ...

 
forum_thread

OEM licencing limitation

Hello, I have question regarding OEM licencing. We have an enhanced entity that contains list of unenhanced entities(by a mistake). We have already received the exception: Too many persistent objects (>1000000) - exceeds evaluation limit on that nonenhanced entity, but we have doubts how is the number of persistent objects counted. We unfortunately don't have the objectdb file anymore, but we have some doubts, that the number was not reached by the internal entitities. #1 2014-04-07 07:35 Hello, I have question regarding OEM licencing. We have an enhanced entity that contains list of unenhanced entit ...

 
forum_thread

Eclipse plugin problem (using ObjectDB as a separate bundle)

Hello support, I have seen multiple attempts to correct similar errors as in the title above - the latest in the 2.2.8.01 release of objectDb. However I still get this error.   Here is my scenario (Groovy 1.8 and Eclipse 3.6) used. I have a com.epimss.lab.data.toxicology.TherapeauticDrugScreenRqst. Nested in this class are the following two classes: com.epimss.lab.data.misc.OtherRqst and com.epimss.lab.data.misc.RequestDateAndNumber. ... ( ) { com. objectdb . Enhancer . enhance ( '-s, ... ( ) { com. objectdb . Enhancer . enhance ( '-s, ...

 
forum_thread

Trouble bug on explorer

Hello having trouble when i try to push new objects from class. I got exception from explorer.     #1 2012-07-19 18:35 Hello having trouble when i try to push new objects from class. I got exception from explorer. Kadi ...

 
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

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

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

 
issue

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

NB: the following issue only happens with ObjectDB, it does not happen with EclipseLink.  Glassfish3.0.1 objectdb-2.2.5_10 JavaEE6 web app The error reports as: javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getWidthPxSideBarLeft Where getWidthPxSideBarLeft() is an annotated getter of an entity ViewConfiguration: ... 07:17 The ObjectDB Enhancer modifies the names of persistent property  get and set ... exactly that. If this doesn't help maybe the Enhancer has to move the annotations to the proxy methods, but that would be ...