ObjectDB Database Search

151-200 of 200 results

AttachNotSupportedException

Rosado Enhancement requires the availiability of classes that are referenced from enhanced classes, and probably  AttachNotSupportedException is referenced from an enhanced class. Usually the ObjectDB server doesn't need any external class. It uses enhancement internally to prepare classes based

Gradle-Kotlin Code Contributions

in that it lacks a task to enhance the compiled classes. Deprecated Gradle features incompatible ... This is the minimum build file (build.gradle.kts) you will need to create a competent ( enhanced ) ObjectDB JPA ... ("com.objectdb:objectdb:2.9.0") } tasks.register (" enhance ") { group = "customTasks" mainClass = "com

Problem Using Reflection

ObjectDB to be enhanced but actually it is not. Similar exceptions are thrown when hierarchy of classes is partly enhanced (you have to enhance all the classes in an entity inheritance path or none). If you do not use enhancement it could be associated with synthetic classes that ObjectDB builds

OutofMemory error with Object DB 2.0

with no enhancement (which is supported but not recommended in ObjectDB 2.x, and impossible in  ... it by enhancing the classes. support Support The following objects fillup most of the heap: com ... have been enhanced using com.objectdb. Enhancer . (they were also enhanced when objectdb 1.0 was used

Retrieval by Access bug?

the issue with a test case? Note that you should enhance all your classes. Partial enhancement is not supported. In addition, if you use reflection mode (i.e. no enhancement ) you should try enhancing your classes, since enhancement improves ObjectDB ability to fetch objects when needed. support Support

NullPointerException while setting a new property value

Hello, we are using ObjectDB version 2.4.4 and we are unable to resolve following NPE on enhanced ... incomplete enhancement (i.e. rebuilding the project and enhancing all the classes may solve ... Support I forgot to mention we are using ObjectDB in embedded mode. Enhancing was made successfully

pesimistic Lock semantic

this is only a guess - but I think that you should have a problem if you run this code without enhancement . JDO (unlike JPA) requires enhancement to function properly. With enhancement - the picture ... ; getObjectById before commit ). With reflection (when enhancement doesn't work from any reason

Log4j error

Hi, We are using OBjectDB OEM Enhancer as part of our build process and we encountered following log4j error: compile:      [echo] Start enhancement of ORS entities for use in ... 2.5.0_06 OEM Enhancer ]      [java] 36 persistable types have been enhanced

Refreshing a dirty object causes permanent JDOOptimisticVerificationException

example: package test; import com.objectdb. Enhancer ; import javax.jdo.JDOHelper; import javax.jdo ... ;   public static class Enhance {                  public static void main(String[] args) {             Enhancer . enhance

Error 363 - Failed to read value of inverse relationship

.um.fcsit.jpa.entity.Guest.phoneList using enhanced method (error 362) at com.objectdb.jpa.EMImpl ... : Failed to write the value of field property edu.um.fcsit.jpa.entity.Guest.phoneList using enhanced ... [...] fzoli Zoltán Farkas Apparently the problem happens only with non enhanced classes. Your test

Error when using Object DB Java Agent

to tell IntelliJ to enhance the classes after compiling them. Without enhancing it's painfully slow ... code is built with maven and the classes are compile time enhanced . With the agent we have a problem ... ) at com.objectdb.o.JEW.aG(JEW.java:185) The Enhancer has to load referenced classes

Activation license not picked up in Jenkins

:33 #1 enhancer .agent] Enhancer Agent started. [2020-09-03 22:03:33 #2 enhancer .agent] Starting Enhancer Agent [2020-09-03 22:03:33 #3 enhancer .agent] JVM: 1.8 [2020-09-03 22:03:33 #4 store] Database

Issue with orphanRemoval and multiple EntityManagers

that the test works well also with previous builds when enhancement is used. So even though it is good ... enhanced classes (which are much more efficient). support Support This test case has been distilled from ... enhanced classes - we did try to use them, but it had it's own set of issues, so we moved back to plain

JSON serialization and __odbHidden members

. Thanks. tester15 John The ObjectDB Enhancer adds members to enhanced entity classes ... better) solution. Enhancer generated methods do not have get/set prefix now (as was also until fixing ... of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations webel Dr Darren Kelly

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

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 ... that ObjectDB class enhancement and JRebel "hot redeployment" class loading could somehow compete

OEM licencing limitation

Hello, I have question regarding OEM licencing. We have an enhanced entity that contains list ... // enhanced entity public final class Test { // non enhanced entity Internal @OneToMany(fetch ... and instances of unsigned classes are counted. In this case, if test is enhanced with an OEM activation

object creation during pmf.getPersistenceManager()

during enhancement ) for creation of all the managed entity objects (avoiding a more complex enhancement machanism ... even having 300 PC classes. In the future it could be an option for an enhancer to generate such constructors.   thanks br Tomasz Tomasz Tomasz Wozniak Thank you for the update. Maybe the enhancer

Fields in objects not populated in query result.

A possible reason could be a partial  enhancement . ObjectDB can populate fields in both enhancement mode ... are enhanced and some are not this could happen. Note also that null values are expected when viewing ... from the database. I don't specify Enhancement mode or Reflection mode anywhere. -dh dhosek Don

Check for index existence ?

="query" give me nothing in output ( debug or trace ). name="*" give me some informations about enhanced ... , enhancement messages are client side). support Support I am using the embedded mode.  ... infos about enhanced classes ) when i replace query by "*" xirt Sylvain Maybe ObjectDB doesn't use

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

(); } I've managed to deduce that it only happens when classes  are enhanced .  When they are not enhanced , everything works fine. Once the error is hit, it keeps on happening and until I remove the enhancement (I do this build time with maven). First, for the test case I supplied: 1) You need

Different behavior with persist() and queried instances?

persist works though in a sample project, *after* the commit, my list property is correctly enhanced ... agent enhancer but maven compile time enhancer but the class itself is enhanced as I

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

; }     } } webel Dr Darren Kelly LAZY in JPA is a hint. If your code is enhanced (as ... _mapped:null a.listB_unmapped:[] If the code is not enhanced , ObjectDB has to keep a snapshot ... entity classes that are not enhanced . support Support Thanks for your explanation. I was able

Spring LTW Problem

. The problem arises when the ObjectDB Enhancer tries to weave some GWT class of wich some ... to ObjectDB. I don't even need LTW for ObjectDB because i enhance the classes at compile time. Any suggestions? Ralph mosi0815 Ralph Moser The ObjectDB Enhancer agent enhances only classes

Selective merge/cascade of detatched entity

, company); em.getTransaction().commit(); Thanks very much, Phil obiphil Philip Clapham Do you use enhanced classes? Merging non dirty objects is expected to be more efficient when classes are enhanced ... ://www.objectdb.com/java/jpa/tool/ enhancer #Load_Time_Java_Agent_ Enhancement _ This improved performance by

Can I Disable the Creation of the "log" Directory?

" directory still gets created.  A "log" directory also gets created when I run com.objectdb. Enhancer ... also prevent the "log" directory created when running the enhancer (java ... com.objectdb. Enhancer

Soft Reference Object Cache Recommendation

you when running the test. Assuming you used enhanced classes (as mentioned in your test comments ... classes are enhanced ). Still it is not released on GC because this is the way soft references work ... this ObjectDb.conf setting: The test is using enhanced classes and inspecting RAM is done after commits

Does ObjectDB support lazy loading?

- it seems that there was a bug in lazy loading of instances of non enhanced classes. Please try build 09 that should fix this issue. In addition, you might want to enhance your entity classes ... )] if the classes are not enhanced . I am using objectdb-2.0-RC4_04. FredrikB Fredrik Bökman You are right

How to resolve 404 errors with Eclipse/Maven Spring MVC

out the com.objectdb. Enhancer . Is this optional when deploying with eclipse instead of maven? I think ... it would be more appropriate to post here). siegfried siegfried heintze Enhancement  (using com.objectdb. Enhancer or

Getting com.objectdb.o.UserException:

.o.CFG. (CFG.java:59) at com.objectdb.o.JEN. (JEN.java:59) at com.objectdb. Enhancer . enhance ( Enhancer

Unexpected NoSuchFieldError exception

David Moshal Try rebuild and enhance of all your classes, as the error messages indicates a broken enhancement (e.g. some classes in a class hierarchy are enhanced some are not, which is not allowed). support Support

Changes in detach behaviour?

. While writing it i found out that it only happens whén I use the enhancer at compile time. I ... with a customized build.xml to enhance the classes. If you run the project you'll see the output "null ... : no need to wrap a single class test in a project even if enhancement is required, posting it as embedded

Database size is much larger than expected (x2)

when run in Eclipse 3.5 in XP. [ObjectDB 2.2.9_03 Enhancer ] 5 persistable types have been enhanced ... ;   image.Thumb     image.URI 7 NON persistable types have been enhanced

Performance of "InsertTest"

(and enhancement ) it persists 340,000 objects per second". Insertion Speed Rate and Batch Load Now, ten years ... . gzdillon Lai Yang It seems that your classes were not enhanced (the huge difference when calling clear is a known indication). Unfortunately enabling enhancement using agent="true" is not

Possible issue with LAZY Loading

of the hint. This happens, for example, when ObjectDB uses reflection mode (classes are not enhanced ... are enhanced because of your implementation of the  setLocationList method, which iterates ... = locationList; } and enhance the classes - the test will throw NullPointerException as expected

Embedded & Activation & Scalation

and do enhance them at runtime, not compile time.. ?   Alex quasado Alexander Adam Multiple processes ... during enhancement , so the enhancement has to be performed before deployment (at compile time). This works

Verify Error with Java 1.7

ObjectDB enhanced classes fail when compiled to Java 1.7 [ObjectDB 2.2.9_08 Enhancer ] 28 persistable types have been enhanced : ... com.vaisala.jx.db.gdm.model.SourceType stack trace from jUnit test com.vaisala.jx.db.gdm.facade.BaseFacadeTest  Time elapsed: 0 sec 

Failed to read the value of field ... using reflection

It may indicate partial enhancement . As you use enhanced classes, make sure that all persistable classes are enhanced as well as other classes that access directly persistent fields of persistable classes. support Support

LAZY @ManyToOne field functions as EAGER

and ManyToOne relationships only in enhanced classes. If you run your test as recommended with enhancement ... enhanced , ObjectDB has to ignore lazy loading and load "to-one" relationships eagerly, since  

Wrong data stored in date only fileds

prolancer Emil Andonov Enhanced classes have __odbHidden methods added by the Enhancer ... enhancer does not show the _odbHidden fields. Emil prolancer Emil Andonov

ODB should auto-restart if it detects it's necessary

(ReadWorkoutPlan.java:36) This is how the error looks like if I enhance the classes before execution with: Enhancer . enhance ("xxx.xxx.entity.p2.*"); com.objectdb.o.InternalException: null at com.objectdb.o

ClassCastException during query

at the enhanced class  com.btc.ep.vector.tc.internal.dmos.TCSignal ). Please verify that the same class ... and caused the class cast exception must be also enhanced . I moved the enum to an entity package whose entities become automatically enhanced . Thank you for your help. best regards BTC btc_es BTC

Eager load Map

- v1 k2 - v2 I tried with and without enhancement . Is there a chance that you were using an older ... had a play with a few options and found that it works if I add runtime enhancement (i.e ... been meaning to enhance the application classes for a while so am happy to push forward with that as

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

to the EntityManager whether one performs compile-time enhancement or runtime enhancement ? That is, does the enhancement have any effect on entities known to: entityManager.getMetamodel().getEntities ... (); It should work regardless if the classes are enhanced or not. support Support

com.objectdb.o.InternalException: null

by JRebel and runtime enhanced by the Enhancer (exception was thrown by ObjectDB since the class wasn't enhanced and then the application enhanced the class). The operation was retried. I don't

ObjectDB 2.7.0

to disable " enhancement ... is old" checks. Fixed a bug in handling remove and persist of the same ... PersistenceManager . Fixed an " Enhancement ... is old" bug on overriding persistent properties ... a specific enum type). Fixed a critical   " Enhancement ... is old" bug when using property access mode

exception on start

? Are all your classes enhanced (or not enhanced at all)? Unsupported partial enhancement (e.g. an entity class is enhanced but is super class is not) may cause issues. Check if you still see the error

com.objectdb.o.InternalException

@server [2016-07-13 22:58:15 #2 type] Type com.gsi.sync.Connection.OperationData is not enhanced . [2016-07-13 22:58:16 #3 type] Type com.gsi.sync.FileInfo is not enhanced . [2016-07-13 22:58:17 #4 type] Type com.gsi.sync.FileInfoZip is not enhanced . [2016-07-13 22:58:17 #5 type] Type com.gsi.sync

NullPointer when accessing persistent field

and db files ( transaction is rolled back )   The packages were all enhanced ( static weaving ... java.util.Map z_registers  = new java.util.HashMap (); As before Enhancer is being run on code ... John Francis We have spent some time tracking this down. If we do not do static enhancing we do not

Use temporary files to enable very large transactions

BTC EmbeddedSystems Do you use enhanced classes? If not, could you please run again with enhanced classes? support Support Just we have tested by usage of enhanced classes. But the result

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

that all your classes are enhanced . The screenshot indicates using some entity objects ( MappingImpl ... Support Thank you very much for your hint. If we enhance all entities then it works. btc_es BTC ... to entities although it is not needed. We did following: All entities are enhanced . The entity