ObjectDB Database Search

101-150 of 200 results

Unable to store AtomicInteger

ObjectDB 2.6. Is this a bug? Flying Banana Jiacong Xu Serialization is disabled by default ... , then there shouldn't be a problem, right?) Flying Banana Jiacong Xu You may either use serialization or the PostLoad solution in this case. support Support

PostUpdate on array changes

the system complains: [ObjectDB 2.8.0_04] javax.persistence.PersistenceException Type au.Person is not enhanced ( enhance the type or enable reflection)  (error 304)     at com.objectdb.jpa ... getting an error regarding enhancement - is this because I'm using openjdk version "1.8.0_212

evictAll() behavior

that your persistence capable (entity) classes are not enhanced . ObjectDB supports working with no enhancement as an extension to JDO - but it is less efficient and has some limitations. For example, strong ... cannot be evicted. If your classes are not enhanced - enhancing them could solve the problem without any

Entity is not related to ObjectDB, but i get exception from ObjectDB

java:jboss/datasources/PG Perhaps this is because of Enhancer , how can we disable it in this case ... . 

Looking forward to your response
 galandor Orlov Sergey This could happen due to partial enhancement , i.e. all the project is enhanced , but then specific classes are compiled again without enhancement

JBoss 7 startup fails

the enhancer (error 108) 13:49:37,705 ERROR [stderr] (MSC service thread 1-3) com.objectdb.o.UserException: Package guest is not found by the enhancer 13:49:37,706 ERROR [stderr] (MSC service thread 1 ... .o.JEN.k(JEN.java:90) 13:49:37,708 ERROR [stderr] (MSC service thread 1-3) at com.objectdb. Enhancer

Failed to generate dynamic type

Hi  I was trying to enhance some of my classes and I got an error :  Failed to generate ... advance b bolo Boguslaw Fraszko one more thing ....  : how to increase Enhancer log level ??   ... there is output from enhancer [ObjectDB 2.0] 3 persistable types have been enhanced : test.MyEntity1 test.MyEntity2

AbstractMethodError ... __odbSetTracker(Lcom/objectdb/spi/Tracker;)V

.EMImpl.find(EMImpl.java:518) ~[na:na] btc_es BTC EmbeddedSystems It may indicate a partial enhancement ... and enhancement of all the classes. support Support Good morning, Without enhancing any entities, we get the error mentioned in first post. When we enhance all entities, we get the following error instead: java

javax.jdo.JDOUserException Failed to locate field field exampleField using reflection (error 363)

, that we have properly enhanced classes although it seems to me, that we  aren't using a best practise solution ... it we are using following code: String allString = getAllPackagesAsString(); Enhancer . enhance (allString); Output of enhancement before running the test was: [ObjectDB 2.8.3_05 Enhancer ] 553 persistable types

OEM: Too many persistable types (>10) - exceeds evaluation limit (error 1011)

that creates my application (with ObjectDB Enhanced classes) but my application fails with the error ... and activations in recent versions. Please make sure that your classes are OEM enhanced . See this forum thread . support Support Thank you for the link to the class enhancing confirmation checking code. 

Insert time increases as db grows.

one entity have index on String column. Entities are not enhanced and inserts are committed in a separate ... ? 4410 Arsenii With enhanced classes you may get much better performance. Enhancement is very easy. For example, you can apply enhancement by: java -javaagent:c:\objectdb\bin\objectdb.jar

Entity Update - Is the documentation up to date?

. These changes are detected if your classes are not enhanced . If your classes are enhanced ... to elements that are not detected in enhanced classes, correct? If a class variable is assigned a new value ... a (potentially identical) new value? kjkrum Kevin The behavior is different for enhanced classes and non

Determining if Persistable Classes Have Trial Limitation

this used to work was that the Enhancer would not Enhance or sign the specified persistable classes ... .6 Enhancer ] 7 persistable types have been enhance How can I tell if a build does NOT occur ... activation code is available the message should be: [ObjectDB 2.7.6 OEM Enhancer ] rather than 

Duplicate Entity class names causes Exception in Query

our JP QL fly ! JFK John Francis Sorry it appears this is an intermittent exception   I

Objectdb Doctor

, which are not stored but rather computed on the fly by executing automatic queries). ObjectDB Doctor

Extended mapping-definitions

classes, by generating them on the fly (there are several Java libraries that can do that). support Support

objectdb (licensed) + github action error

on the fly for each upgrade. Any idea how we can resolve it? Thanks in advance for your help.   jon

A few questions on object database design

? Flying Banana Jiacong Xu There are no strict rules because the optimal design depends on too many

Feature Request: Improved ObjectDB Explorer

here for discussion before submitting a ticket. What do you think? Flying Banana Jiacong Xu I agree

Opensource ObjectDB

there are no plans to open source ObjectDB. support Support Would be great if that 10 entity class limit is raised, even by a bit :P Flying Banana Jiacong Xu

Query vs Extent for retrieving data

from the database on the fly , is available only when the PersistenceManager is open

Entity factory - best practices

at the same time? Flying Banana Jiacong Xu Creating multiple EntityManagerFactory instances is thread safe

JOD problems regarding detachCopy()

have tried enhancing the jar, but did run into some trouble with this as well. Not sure whether enhancement is required? My code: @Entity public class Boat implements Serializable{ @Id private String name ... can identify it correctly with enhanced classes but not with classes that are not enhanced . Note

Felix, rollback exception, error 613

: Failed to get reference value of field field db.Point.x using enhanced method (error 613)    ... enhanced method     at com.objectdb.o._PersistenceException.a(_PersistenceException.java ... to get reference value of field field db.Point.x using enhanced method     at com.objectdb

Problem upgrading

the right version of the enhancer . There are no code errors. If I change everything back to 2.6.3 ... the enhancement is incomplete. Try to rebuild everything and run the Enhancer on all your entity ... of the enhancer : [ObjectDB 2.6.6 Enhancer ] 35 persistable types have been enhanced :    

ObjectDB Enincompatible with Quarkus?

that runs fine without enhancement but fails after classes are enhanced , see trace below. This line ... . ie: it seems that ObjectDB's enhancer adds __ to methods, which is incompatible with Quarkus's ... its own corner with several enhanced methods that start with "__odb". This will be taken into

Eclipse plugin problem (using ObjectDB as a separate bundle)

.main(Main.java:1384) In an attempt to isoloate the problem I cleaned by project, and enhanced ... ; enhanceLabPlugin()     {         com.objectdb. Enhancer . enhance ... ()     {         com.objectdb. Enhancer . enhance ( '-s, J

License State

. The enhancement is done in a gradle task. Unfortunatly this has to be done on a macos due to XCode ... forgot to disconnect the VPN connection there is no valid enhancement for the whole build for all different platforms. This will be recognized in the UAT after enhancing , building, notarisation, uploading

ObjectDB License Error I got

' description = 'Run ObjectDB Enhancer on compiled classes' // Enhancer must see compiled classes + ObjectDB on the classpath classpath = sourceSets.main.runtimeClasspath mainClass = 'com.objectdb. Enhancer ' // Use your package pattern here (from your Maven snippet it was "point.*") // Enhances

"Attempt to lock a non entity object" error

a minimal test case that demonstrates the problem. support Support [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: Ron After find and first lock: Ron

Unable to persist TreeMap

still not working: [ObjectDB 2.5.0 Enhancer ] 1 persistable type has been enhanced :     Association [ObjectDB 2.5.0 Enhancer ] 1 persistable type has been enhanced :     ... .NullPointerException at Test.main(Test.java:31) at Enhance .main( Enhance .java:6) import java.util.Map; import

JDOHelper.isDetached failure ?

that are supported by ObjectDB only for enhanced classes. For a class that is not enhanced ObjectDB ... is considered as transient. It is not practical to support it for non enhanced classes, without causing a memory leak. ObjectDB may be the only JDO implementation that supports non enhanced classes

Trouble bug on explorer

numeric value of field field model.User.gid using enhanced method (error 362) at javax.swing ... .gid using enhanced method at com.objectdb.o.MSG.d(MSG.java:74) at com.objectdb.o.UMR.M(UMR.java:905 ... value of field field model.User.gid using enhanced method (error 362) at javax.swing.AbstractButton

Integration

the new ObjectDB build load time weaving ( enhancement ) by Spring is currently disabled ... ! Though i am pondering about the repercussions of spring enhancement not being applied. (as far as i ... dries Thank you for your useful report. You can still use ordinary enhancement (e.g. during build

Missing (null) elements in eager loaded references

private long amount ; etc... }   Kevin Kevin Pfaff Questions: Are your classes enhanced ... been already loaded would be missing. support Support No, none are enhanced , neither serverside nor locally ... enhanced classes. First, it is usually much more efficient. Second, it uses a different mechanism

package not found running ObjectDB under OSGi

Hi I have created in Eclipse a new plugin from existing jar file and than I tried to enhance ... ] Package datamodel.core.base is not found by the enhancer (error 108) The Enhancer was run in ... ().loadClass("datamodel.core.base.NamedCoreObj").getClassLoader();       Enhancer

OneToMany and cascade delete problem

? lwalkowski Lukasz Walkowski Running the test case (with enhancer enabled) produces output that ends ... ; lwalkowski Lukasz Walkowski Running the new test with enhancement enabled produces: Store: 4, size: 9 ... : 94, store: 4 Offer: Offer for product: 84, store: 4 but with no enhancement - produces: Listing

JRebel integration feature

Feature request: Dynamic class enhancement during development compatible with JRebel. dmoshal David Moshal ObjectDB 2 supports dynamic enhancement using a Java Agent. Please try ... with objectdb-2.3.7_05 javaagent class enhancement (see part of stacktrace below) but run fine with JRebel

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

Internal objectdb exception when using different language on a machine

was not enhanced and caused the exceptions above. Although the enhancement check was activated: the enhancement check does not throw an objectdb exception. Have you an idea why the enhancement check does ... that you found the cause and thank you for the update.  Have you an idea why the enhancement check

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

Hi   there is something wrong with enhancement process I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object creation when some ... Tomasz Wozniak This might be the result of an incomplete enhancement - i.e. Network extends

Error during closing an entity manager

btc_es BTC EmbeddedSystems We have found a workaround. We have just enhanced the entities and then it works as intended. But why this case does not perform without enhanced entities? btc_es BTC EmbeddedSystems The exception may be due to having partial enhancement . Mixing enhanced entity classes

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

Enhancer modifies the names of persistent property  get and set methods by adding __odbHidden ... that. If this doesn't help maybe the Enhancer has to move the annotations to the proxy methods ... is not anywhere in the classpath. You are not using classes that have been enhanced by an older

Unexpected Exception (java.lang.NullPointerException: Cannot invoke "com.objectdb.o.ORS.Z9())

this check is not needed when entity classes are enhanced , so enhancing the class may solve the issue. Note that mixing enhanced and non- enhanced classes is not supported and may cause various issues, so double check that all your entity classes are enhanced . Something else to check is that all objects

Unexpected Exception during commit

; em.close();     I also tried upgrading to 2.2.9_05. Now when I try to enhance I ... . Enhancer . enhance ( Enhancer .java:66) at com.objectdb. Enhancer . enhance ( Enhancer .java:87) at com ... ( enhancer ) exception in build 2.2.5_05 is caused by using the new build with an older configuration file

queries under 2.7.6_4 significantly slower than under 2.7.6

we have queries like the above that are entered by customers on the fly , no chance to use hints

database corrupt

infrastructure. We could gather more information if needed. the 'on the fly ' Doctor would be great

Feature Request: Adding map entries to DB in Explorer

Currently, collections can be edited but maps cannot be edited. For a database model that has a lot of static data that need to be entered into the database on multiple edits this presents as an inconvenience. It would be great, therefore, if we can edit maps straight from the explorer. Flying Banana Jiacong Xu

References to objects of missing obsolete entity classes

.btc.ep.formalnotation.bl.internal.dmos.PhaseImpl is not enhanced ( enhance the type or enable ... .UserException: Type com.btc.ep.formalnotation.bl.internal.dmos.PhaseImpl is not enhanced ( enhance the type or ... ( enhanced ) entity class in your project for that obsolete entity class. support Support