ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
30

Weird behaviour with enhanced classes and embedded entities

entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced ... static void main(String[] args) {     // enhance entities     com.objectdb.Enhancer.enhance ... (or without enhancing the classes). What I can say so far: Enhancing & multi threading breaks .add
30

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
30

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
30

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
29

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
29

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
29

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
29

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
6

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
6

Enhancement Error: Unexpected constant pool entry tag: 19

Hi , I got this error when trying to enhance Thanks -- bmpccdeMac-mini:CloudAI eko$ bash ~/lib/objectdb-2.8.4/bin/enhancer.sh build/libs/asli-cloudai.jar [ObjectDB 2.8.4] Unexpected constant ... :101) at com.objectdb.Enhancer.main(Enhancer.java:33) eko EKO FAJAR Thank you for this report

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