About Enhancer

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 #1 2016-08-06 16:09 Hello, Is there a simple way to check if indexes specified in entities are well taken into account by Obj ...

 
release

2.1.0

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

 
release

2.1.1

Release date: 2011-03-10 Download (3.89 MB) Binary:  objectdb-2.1.1.zip You should start by following a  tutorial or reading the manual ...

 
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? ... [ ObjectDB 2.4.7_15 Enhancer ] 1 persistable type has been enhanced: Person   [ ObjectDB 2.4.7_15 Enhancer ] 1 persistable type has been enhanced: Test   Stored: ...

 
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. ... 13:55 The ObjectDB Enhancer adds members to enhanced entity classes, but most of the additions are ... a different (and hopefully better) solution. Enhancer generated methods do not have get/set prefix now (as was also ...

 
release

2.0.4

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

 
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). #1 2012-03-15 06:51 This is not a question to ObjectDB support, it is a discussion item for ObjectDB users who use Netbeans IDE. ...

 
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 ) ... with my entities beans. My conclusion is that the Enhancer is not able to process correctly customed dynamic class ... but ...

 
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 #1 2017-07-04 04:05 I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in ...