ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
79

How to check if the classes were enhanced correctly with valid OEM license?

Hello, is there a way/tool how to check whether build classes were enhanced with valid OEM license? Scenario: 1) Build and enhance Java application with some Object DB license key. 2) Pick particular JAR containing enhanced classes from the build above. 3) Run some tool against picked JAR
79

Enhancer failure: Failed to process class file of type

:446)         at com.objectdb.o.JEN.m(JEN.java:101)         at com.objectdb.Enhancer.main(Enhancer ... with 2.7.2_02 and the following enhancement config in gradle works: task enhance ( type: JavaExec ) {   main = 'com.objectdb.Enhancer'   classpath = sourceSets.main.runtimeClasspath   args '-cp
79

Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time entity classes ?

ObjectDB support wrote elsewhere: ... you do not need the Enhancer agent, since you use build time ... to disable the enhancer agent ... Q: Does run time enhancer due to GlassFish/Payara do anything that would affect loaded compile-time enhanced entity classes (other than just logging, typically just info
79

An ArrayIndexOutOfBoundsException with nested entities and enhanced entities

.8_06 All our entities are enhanced. There are nested entities in following hierarchy: @Entity ... . btc_es BTC EmbeddedSystems It looks again as a mismatching enhancement ... the database and the enhanced classes. But perhaps, not quite comprehensible, the database
79

Enhancement Error: ClassNotFoundException

enhancer.sh build/libs/asli-cloudai.jar [ObjectDB 2.8.5_03] Failed to process class file ... .java:447) at com.objectdb.o.JEN.g(JEN.java:103) at com.objectdb.Enhancer.main(Enhancer.java:33 ... (ClassLoader.java:522) ... 10 more eko EKO FAJAR Enhancement requires that all referred classes (e.g. by
79

Measurement of the test coverage of enhanced classes

to our customers. Therefore we think we need to test the enhanced classes. But that distorts our test ... "coverage" of our tests? btc_es BTC EmbeddedSystems Enhancement adds code to persistent classes ... that is added by enhancement. A simple solution could be to check test coverage with classes that are not
79

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
79

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
15

Application not starting after enhancement

I added the class enhancer to my build script and I get the expected output of a list with the enhanced classes. Now if I try to deploy my created application I get the following error: Caused ... ) The Data class is a simple @Entity which extends a @MappedSuperclass. Without the enhancement
15

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

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