ObjectDB Database Search
1-50 of 88 resultsPossible cause for "Enhancement of type ... is old and cannot be used" We get the following log: [2015-06-08 13:07:02 #1 type.user] Enhancement of type com.btc.ep ... .ScopeRequirementContainerImpl is not enhanced . [2015-06-08 13:07:02 #3 type.user] Enhancement of type com.btc.ep ... .RequirementReferenceImpl is not enhanced . We understand the reason of the messages #2 and #4 "Type ...  | |
UserException: Package com.example.model is not found by the enhancer the enhancer It occurs on this line: com.objectdb. Enhancer . enhance ("com.example.model ... how the enhance () method looks up the model path since it will be inside the example.jar after building? ThreaT Ashton Hogan It may be a class loader conflict, i.e. the Enhancer and your classes are loaded | |
enhancement issue Hi, still struggling with the enhancement issue. So, this works fine in development: static void main ( String[] args ) { com.objectdb. Enhancer . enhance ( "app.model ... : [ObjectDB 2.7.1_02] Package app.model is not found by the enhancer (error 108) com.objectdb.o | |
Failed to enhance dynamic type Hi, We are trying to enhance a class with OSGI Weaver using the JEnhancer.THIS instance as a class ... of our custom interface and should of course, NOT be enhanced . Yet, we get an error due enhancing : Failed ... why he does even try to generate dynamic type?? Can he simply ignore such things and enhance | |
Issue with compile time enhancement I have an entity library which I have integrated build time enhancement in. The enhancer ... ) is listed as having been enhanced . I am running with ObjectDB in embedded mode via a reference ... This exception may be the result of partial enhancement . For example, enhancement of a super entity | |
Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity I doubt this is an ObjectDB- enhancer problem, I am however reporting it in case anybody ... extends Element { On post-compile enhancement I get this error (as reported in the odb log file ... .objectdb. Enhancer .main( Enhancer .java:33) Caused by: java.lang.LinkageError: loader constraint violation | |
Enhancer failure: Failed to process class file of type; at com.objectdb. Enhancer .main( Enhancer .java:33) Caused by: com.objectdb.o.UserException: Failed ... .2_02 and the following enhancement config in gradle works: task enhance ( type: JavaExec ) { main = 'com.objectdb. Enhancer ' classpath = sourceSets.main.runtimeClasspath args '-cp | |
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 | |
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 ... that have been enhanced by the Enhancer in OEM mode (i.e. with an OEM activation key), your software can access | |
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 ... .5_01. mosi0815 Ralph Moser The new error is not related to the Enhancer fix, but to another fix | |
Database Management Settings, you should only activate ObjectDB on developer computers. Classes that are enhanced by the ObjectDB Enhancer with an OEM license are signed and excluded from evaluation restrictions. Therefore, when the ObjectDB runtime is bundled in a product that uses only signed, enhanced , persistable classes, activation by end users is unnecessary. | |
JPA Entity Fields for detached entities (explained in Chapter 3 ) unless the entity class is enhanced (explained in Chapter 5 | |
FROM clause (JPQL / Criteria API) The FROM clause declares query identification variables for iterating over objects in the database. A query identification variable is similar to a variable in a Java enhanced for loop because both are used to iterate over objects. Range variables Range variables are query identification variables | |
Enhancer option -s works not as expected We found a bug in the enhancer with the option -s . Given structure: com |- btc |- |- base ... |- |- |- |- |- Entity2.class ... com.objectdb. Enhancer -noaware -s com.btc.base.impl.* Entity1 and Entity2 enhanced as expected. ... com.objectdb. Enhancer -noaware -s com.btc.base.* Entity1 | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1. galandor Orlov Sergey This exception indicates a missing enhancement , i.e. City is enhanced but its super class AbstractMethod is not enhanced . It is indeed weird that the problem is only with City ... and then redeployment solve the problem. You may also try using build time enhancement | |
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 by ... a @MappedSuperclass. Without the enhancement everything works fine. Regards Kevin Kevin Kevin Pfaff Enhancement | |
ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded() Element I encounter ObjectDB enhancement errors: private boolean loaded = false; @Transient @Override ... ) { this.loaded = loaded; } No matter whether using javaagent run-time enhancement or post-compile enhancement ... entity): INFO: [2014-11-23 16:54:03 #2 type] Type com.example.entity.Element is not enhanced | |
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. package ... you for this report. It represents an issue with non enhanced classes, but it is not related to @OneToMany collection | |
Step 3: Add a Context Listener Class the EntityManagerFactory & Enhance : public void contextInitialized(ServletContextEvent e) { com.objectdb. Enhancer . enhance ("guest.*"); EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb ... the Enhancer to enhance the entity class, creates an EntityManagerFactory instance and stores it as | |
Feature suggestion: Improved Maven Enhancer support There may a way to achieve recursive application of the enhancer using the maven plugin ... .objectdb. Enhancer   ... plugin. Maybe all the class files in the target directories can be scanned automatically and enhanced if necessary. support Support | |
Enhancer API (JDO 3.0) One of the new features of JDO 3 is a standard API for enhancement . Currently ObjectDB implements its own enhancement API . support Support | |
After using the enhancer, Lazy loaded collections are no longer loading. They are set as null; Note: This scenario was working until running the enhancer on compiled jpa entities   ... with and without enhancement . import java.util.*; import javax.persistence.*; public class T1535 {   | |
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.  | |
Step 1: Create a Maven Web Project.2 enhance process-classes java com.objectdb. Enhancer guest.Guest org.mortbay.jetty maven-jetty | |
Step 1: Create a Maven Web Project; enhance process ... ; com.objectdb. Enhancer   | |
Step 7: Run the Spring Web App automatic enhancement (weaving) in Tomcat it has to be run with ObjectDB as a Java agent ( javaagent:objectdb.jar). When using GlassFish - on the fly enhancement (weaving) is automatically enabled | |
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 | |
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 | |
DB reading fails in debug mode in Eclipse me how to fix this state ? jakab Gergely Jakab The stack trace may indicate an incomplete enhancement . Try full clean build of your project with full enhancement of all your classes (particularly ... post compilation (build time) enhancement rather than on the fly enhancement . support Support | |
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 | |
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 | |
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 | |
NullPointerException in __odbGetNumMember of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in ... field version using enhanced method version is annotated with @Version quasado Alexander Adam Okay ... incomplete enhancement of the object model - i.e. some classes are enhanced and some other related 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 | |
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 | |
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 |