About Enhancer

page

Consulting and Training

Our consulting and training team will be happy to assist you with on-site or remote consulting and training services. Consulting Facing a migration project? Performance issues with your current persistence architecture / framework? ...

 
forum_thread

Access ClassTransformer

Hello, As in our OSGI Environment, we do need to manually weave classes. To be able to do so, we'd need access to the ClassTransformer from ObjectDB. However, there's only the global enhancer api which is not of any help. There's the JEhancerAgent which seems to implement a ClassTransformer as well though not sure whether to use that one..? Thanks! Alex ... from ObjectDB. However, there's only the global enhancer api which is not of any help. There's the JEhancerAgent which ...

 
api-jdo

JDO Annotations for Classes

JDO supports two modes of persistable classes that can be set by the following annotations: javax.jdo.annotations.PersistenceCapable javax.jdo.annotations.EmbeddedOnly Non persistable classes that should be enhanced (because ...

 
manual

FROM clause (JPQL / Criteria API)

Explains how to use the FROM clause and JOIN expressions in a JPA/JPQL query. The FROM clause declares query identification variables that represent iteration over objects in the database. A query identification variable is similar to a variable of a Java enhanced for loop in a program, since both are used for iteration over o ...

 
forum_thread

Why the internal error was thrown?

com.objectdb.o.InternalException at com.objectdb.o.CCH.H(CCH.java:298) at com.objectdb.o.CCH.E(CCH.java:155) at com.objectdb.o.QRM.Vo(QRM.java:226) at com.objectdb.o.MST.Vo(MST.java:988) at com.objectdb.o.WRA.Vo(WRA.java:311) at com.objectdb.o.WSM.Vo(WSM.java:115) at com.objectdb.o.QRR.g(QRR.java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719) #1 2016-07-08 09:28 com.objectdb.o.InternalException at com.objectdb.o.CCH.H(CCH.java:298) at com.objectdb.o.CCH.E(CCH.java:155) at com ...

 
issue

Enable intern() for Retrieved Strings

Implement a setting, where the developer can specify which Strings should be loaded via the String.intern() function. Hint for this enhancement: When loading a large list of persons, the persons first names are many time the same ones (here it is Martin, Michael, Thomas, ...). Instead of instantiating every first name with a new String, the user should be able to specify that this field should be loaded via String.intern() (with all its advantages and disadvantages). Feature Request Version: 2.5.4 Priority: Normal Status: Active Replies: 0 Type:  Feature Request ...

 
api-jdo

PersistenceCapable.CHECK_READ

If jdoFieldFlags for a field includes CHECK_READ, then the field has been enhanced to call the jdoStateManager on read if the jdoFlags setting is not READ_OK or READ_WRITE_OK.(Static Field of javax.jdo.spi.PersistenceCapable)

 
api-jdo

PersistenceCapable.MEDIATE_WRITE

If jdoFieldFlags for a field includes MEDIATE_WRITE, then the field has been enhanced to always call the jdoStateManager on all writes.(Static Field of javax.jdo.spi.PersistenceCapable)

 
api-jdo

javax.jdo.listener.ClearLifecycleListener

This interface is implemented by listeners to be notified of clear events.(Interface of JDO)

 
forum_thread

A lot of ENT and SIV instances which are not cleared by GC

Hello. I have a JSF application (Glassfish 4, Java 8, ObjectDB 2.6.0). In some time the heap is getting 95% full with java.lang.OutOfMemoryError: GC overhead limit exceeded.  The first screenshot from VisualVM shows used heap during a 1000 requests stress test. The second shows that after this test there are many com.objectdb.o.ENT and com.objectdb.o.SIV instances. Why isn't it cleaned? I use simple EJB managers containing EntityManagers. On bean's PreDestroy and in servlet's i make entityManager.clear(); #1 2015-02-21 17:33 Hello. I have a JSF application (Glassfish 4, Java 8, ObjectDB 2.6.0). In some time the heap is getting 9 ...