About enhancement

forum_thread

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt ... check the server logs (queries are executed on the server, enhancement messages are client side). ObjectDB ...

 
release

2.1.0

... Fixed Java Agent / Java EE / Spring enhancement bug. Fixed a bug in merging detached entity ... Fixed a bug in automatic byte code enhancement in Java EE server. Fixed a bug in multi variable ...

 
release

2.1.1

... Fixed Java Agent / Java EE / Spring enhancement bug. Fixed a bug in merging detached entity ... Fixed a bug in automatic byte code enhancement in Java EE server. Fixed a bug in multi variable ...

 
api-jdo

javax.jdo.InstanceCallbacks

A PersistenceCapable class that provides callback methods for life cycle events implements this interface.(Interface of JDO)

 
forum_thread

"Attempt to lock a non entity object" error

Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects from the database outside a transaction (inside doesn't seem to matter). First cycle of doEdit and then doCancelEdit works fine. Second time I doEdit produces the error "Attempt to lock a non entity object" session.rollback() is somehow causing the problem (found through debugging) Is this enough information for someone to suggest what might be happening and how to fix it? #1 2013-03-30 17:56 Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects fr ...

 
forum_thread

JSON serialization and __odbHidden members

Hi.. Building a REST API (Jersey-based one) I noticed that object object I serialize to JSON has a clone field with "__odbHidden" suffix, e.g.there's  "id" and "id__odbHidden" is also (unwantenly) present with the same value. In general, we can annotate fields to include/exclude them from JSON serialization, but since these fields are not declared in my classes, I have no idea how to tell marshaller to avoid them. ... Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations ...

 
release

2.0.4

... Fixed a bug in automatic byte code enhancement in Java EE server. Fixed a bug in multi variable ...

 
forum_thread

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

This is not a question to ObjectDB support, it is a discussion item for ObjectDB users who use Netbeans IDE. I am encountering the following problem when using enhancement with Netbeans IDE 7.1. To enable enhancement I use the following in the Project Properties dialog Run section under VM Options: -javaagent:lib/objectdb.jar where there is a lib folder under the main project folder. This works fine for a Netbeans Web Application (that runs in Glassfish as web application container). ... I am encountering the following problem when using enhancement with Netbeans IDE 7.1. To enable enhancement I use the following in the Project Properties dialog Run section ...

 
forum_thread

Memory leak while merging parent with No Cascade annotation with children

Hello support, While tracking memory leak in my application i suspected a memory leak in the merging object db implementation. The test case is the following, just run and watch the "Memory Used" by comparing Cascade.ALL (or Cascade.MERGE ) to nothing. Tested with last version of Object Db ( 2.5.5_05 ) #1 2014-05-18 10:07 Hello support, While tracking memory leak in my application i suspected a memory leak in the merging obje ...

 
forum_thread

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in a multi-module Maven project. I have a  entities under many different paths in many different modules, and frequently evolving/changing. JPA2 persistence.xml does not seem to have support for wildcards under the <class> field. Apparently Hibernate has an autodetection extension system: hibernate.archive.autodetection https://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/configuration.html ... to the EntityManager whether one performs compile-time enhancement or runtime enhancement ? That is, does the enhancement have any effect on entities ...