ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh

Exception when querying Map property with @embedded & Enhancer enabled

Hi, I have the following test class that is failing when the enhancer is enabled, resulting in the error 'Failed to write the value of field field TestEmbeddableMap$MyAttributeItem.id using enhanced method.', if I disable the enhancement the test works as expected, and returns the expected

Invalid file type for enhancement (error 104)

Trying to run enhancement, I get: [ObjectDB 2.5.5_05] Invalid file type for enhancement: /home ... .objectdb.o.UserException: Invalid file type for enhancement: /home/steve/java/spiffymap-svn/sealog ... .Enhancer.main(Enhancer.java:32) Could you give some help as to what this issue is? sjzlondon Steve

Enhancement from gradle build file

Just wondering if it's possible to add enhancement in the gradle build file after compilation ... Moshal The following seems to work: task enhance(type: JavaExec) {   main = 'com.objectdb.Enhancer ... .model_dir_two.*' } compileGroovy.finalizedBy(enhance) note, for java, you want compileJava instead of compileGroovy. dmoshal David Moshal

Option or strategy to disable/skip runtime enhancement checks (to improve load time)?

On startup of a Maven-based web app there is verbose logging of object checking whether enhancement ... . For example, it is checking whether PrimeFaces JSF toolkit classes are enhanced. I am using Maven-based compile-time enhancement applied to entity modules (only), so I know these checks

Version 2.5.6 enhancement problem solved by updating to version 2.5.7_03

After updating some of my code to java 8, enhancement threw "unexpected" exceptions from ... have been related to the java 8 update. In any event, my enhancement problem went away when I updated ... and enhanced again if the classes were enhanced with an earlier version. But maybe build 2.5.7_03

OEM license, enhancer

for each customer system when we are using enhancer. As we want to ship a standard database with the system which was created before having the OEM license and before adding enhancer to our maven ... That is correct. As long as you distribute your software with entity classes that have been enhanced

Java 8 Enhancer Problem

transformers on the classpath. This is normaly not a problem because the ObjectDB enhancer ignores non @Entity or already enhanced classes but in conjunction with new Java 8 class files it throws ... after the update to 2.5.5_01. mosi0815 Ralph Moser The new error is not related to the Enhancer fix

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

encounter ObjectDB enhancement errors: private boolean loaded = false; @Transient ... javaagent run-time enhancement or post-compile enhancement, and on complete clean and build in ... ] Type com.example.entity.Element is not enhanced. ... But it is ok using the 'get' getter form

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection ... .getChildEntityContainer().remove("01"); does not work correctly with not enhanced JPA entities ... you for this report. It represents an issue with non enhanced classes, but it is not related to @OneToMany

Enhancer: non-zero exit code at exceptions

Hello, we have found that the enhancer returned an non-zero exit code on errors. You can change this so that the error of the enhancers can be detected. btc_es BTC EmbeddedSystems Thank you for this report. Starting build 2.6.1_04 the Enhancer exits with non zero code on errors. Note

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support