ObjectDB Database Search

1-50 of 133 results

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

extends Element { On post - compile enhancement I get this error (as reported in the odb log file ... script for the post - compile enhancement the class path is: javac.classpath:lib/objectdb.jar:/usr ... comment out that static LOGGER variable init line, the error vanishes and post - compile enhancement

Bug when posting threads with Firefox 34.0.5

Bug when posting threads with Firefox 34.0.5

ObjectDB JDBC to Object compiler

Hello , some products developed by JDBC , So we cannot use ObjectDB. My idea is , you can make JDBC To ObjectDB wizard compiler or something like this. You can eliminate JDBC Requests from Java Code. It can be Intellij or Eclipse IDE plugin for ObjectDB.   It dedects strings and combinations

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

do anything that would affect loaded compile -time enhanced entity classes (other than just logging, typically just

Issue with compile time enhancement

Issue with compile time enhancement

Database Management Settings

of re-running the query. The programs attribute specifies how many compiled query programs to cache. Cached

Apache License, Version 2.0, January 2004

to compiled object code, generated documentation, and conversions to other media types. "Work" shall

General Performance Issues Illustrated with a Specific Method

that. Please refer to my first post on https://www.objectdb.com/forum/2857 for details. MOH-SL ... in the future if you follow the posting instruction and post minimal examples (for example ... , would have been eliminated). Unfortunately all your posts today violate the posting rules and if you want to continue to use

Exception on creation when running multithreaded

; for the CDI I can see 3 queries: [2011-08-09 01:51:47 #37 query. compiler ] [2011-08-09 01:51:47 #38 query. compiler ] :1:notNull]))" eval="4.3054" var="1" prm="0" reg="1" :1:notNull])" eval="3.0043" var="1" prm="0" reg="1" variable="$$owner" / [2011-08-09 01:51:47 #39 query. compiler ] :1:notNull

Step 1: Create a Maven Web Project

1.6.10 org.apache.maven.plugins maven- compiler -plugin 1.7 1.7 org.codehaus.mojo exec-maven-plugin 1 ... -plugin 6.1.10 10 foo 9999 start-jetty pre-integration-test run 0 true stop-jetty post -integration-test

Step 1: Create a Maven Web Project

;  org.apache.maven.plugins      maven- compiler -plugin      ... ;      stop-jetty        post -integration-test

Possible cause for "Enhancement of type ... is old and cannot be used"

am using post - compile , pre-deployment enhancement using an Ant script, and I have taken extra care to make ... . the Ant post - compile , pre-deployment enhancement task has run and reported the enhancements): Type com ... that uses property access mode. More details are in this issue thread  (see post #4). support Support

ObjectDB License Error I got

' description = 'Run ObjectDB Enhancer on compiled classes' // Enhancer must see compiled classes ... .inventory.type.*' , 'com.manage.jpa.init.*' } // Run enhancer after classes are compiled (before jar ... -view=false kadirbasol Kadir BASOL It is unclear from your post why the activation does not work

Changes in detach behaviour?

the posting instructions ? You can simulate the effect of Spring transactions by closing and reopening ... . While writing it i found out that it only happens whén I use the enhancer at compile time. I ... : no need to wrap a single class test in a project even if enhancement is required, posting it as embedded

Filename.odb$ Persisting Issue

for it to kill itself? DragonRulerX Jared Hinze Please try to isolate the issue and post a small ... . DragonRulerX Jared Hinze This test case is neither runnable (cannot compile due to missing import

DB reading fails in debug mode in Eclipse

post compilation (build time) enhancement rather than on the fly enhancement. support Support

Source not found error after downloading ObjectDB 2.3.7_04

2 days Pallavi pallavi You have to provide more details. What kind of error is it? Compilation ? Debugging? Runtime? If it is an exception - provide a full stack trace. If it is a compilation error or ... .  Basically the PMF.class is compiled from PMF.java and in the source file I am not able to find

Starting Explorer programmatically

://m2.objectdb.com' } }   dependencies { // OBJECTDB: compile 'com.objectdb:objectdb:2.7.5' compile 'org.eclipse.persistence:javax.persistence:2.2.0' compile 'javax.transaction:jta:1.1' }       dmoshal David Moshal this didn't work:   compile 'com.objectdb:explorer:2.7.5

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 well for existing ObjectDB OEM users. It will not work, however, if your object model is unknown at compile

Soft Reference Object Cache Recommendation

(Trying again.  Last post , ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) I desire ... of post #1 is needed. Does it show the byte[] that is not released and you expect to be released

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

1011) at com.objectdb/com.objectdb.jdo.JdoQuery. compile (JdoQuery.java:734) I ... evaluation limit (error 1011) at com.objectdb/com.objectdb.jdo.JdoQuery. compile (JdoQuery.java:734) at com

Activation Issue

the evaluation license restriction message again at compile time (which was I was seeing before putting ... a compile . The unit test only has the jar file, and creates an embedded database. The jarfile

Database is erased after deploying a new web application version

saying this file could not be opened (which createEntityManager throws). Please post ... is much faster than creating  EntityManagerFactory instances). support Support  Please post ... . This could be of course after catching an ObjectDB exception, but then please post the ObjectDB

explorer NullPointerException

the other issue that you mentioned, the [Recent Connections] menu - could you post a stack trace? The stack trace that you posted is caused on an attempt to open the [Tools Options] dialog box, and it is not related to the [Recent Connections] menu. support Support 1、the stack what I posted  

Missing (null) elements in eager loaded references

this to a minimal self contained test case, as explained in the  posting instructions , with no external ... with no gradle or maven taken from the posting instructions example. Kevin Kevin Pfaff Thanks ... if this is the original issue from post #1. support Support So the problem is not the db or the db

How to resolve 404 errors with Eclipse/Maven Spring MVC

. this is partially cross posted with the eclipse forum. After posting there I thought it would be more appropriate to post here). siegfried siegfried heintze Enhancement  (using com.objectdb.Enhancer or other method) is optional, but improves performance. You may post your tutorial based Eclipse project

problem with lazy loading - unittest project attached

: compile   support Support sorry, that's right, i'm using a central artifactory repository

Why the internal error was thrown?

sporadic in our TestSuite. We observed this problem on a 32BIT OS.  The same compiled export

JRebel integration feature

and other ObjectDB enhancement techniques, just javaagent, compile time enhancement may offer a way ahead

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

the compiler back to 1.8, deleted module-info.java, and put objectdb on the classpath, the application

ClassNotFoundException messages in the log file

.java:86) at com.objectdb/com.objectdb.jdo.JdoQuery. compile (JdoQuery.java:728) at com.unilogical

Get the last occurence of a list attribut

.persistenceId ASC But it's look like it's not a correct query, the compiler does not like the parentheses

query on calendar class

Walezy There are several possible causes of failure mentioned in your post : The {} syntax ... with dates, please post a simple single top class running example (as explained in the posting instructions ) that demonstrates all the issues. support Support

Evaluation License

get a free commercial license? (According to the post below, this might be possible).     Hi ... on 2010-05-03 User Post #144 ouba64 Ouba Mahamane That answer was given in the forum ... , articles, blog posts ), giving lectures, etc." That program is inactive now but if you think

Does ObjectDB support @Parent for @Embeddable reference to parent?

shown on the first post . support Support This should probably work with ObjectDB as well, Quick test ... , rather than the annotated fields, as shown on the first post . Sorry, excuse lazy copy-and-paste from stack forum posting (I had already noticed it). webel Dr Darren Kelly

Join query problem with new statetment

the database - the old embeddable objects and the new entity objects. For more precise diagnosis - please post ... ticket if you cannot post it publicly). support Support Both entities Inspiration and Product ... earlier post , that changing query to: select new InspirationsPerSupplierResult(insp.name, p.name

EntityManager getMetamodel() causes crash

expected).  NB: this last may be the subject of another post . Crispy Chris Powell Please provide a minimal runnable program that demonstrates the issue (see posting instructions ). Does it happen ... expected with the persistence XML provided I do not get the entity list - but as noted in the post

Beginners questions

Please split this post to 3 separate threads: ObjectDB and JPA Entity name Relationships and tracking changes You can post as many questions as you want, but please follow the posting instructions

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   timbob1000 Tim Osborn Your issue cannot be reproduced, since the posted code is not runnable. Particularly the invocation of find in your code does not compile . The following code included an attempt

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

) { this.loaded = loaded; } No matter whether using javaagent run-time enhancement or post - compile enhancement ... (an no matter whether using compile -on-save or not) I get at run-time this error (and for every subclass

NullPointerException in __odbGetNumMember

our implementation. I am posting the stack trace in the hope that it'll help to figure what's going ... that it has to do with enhancement? quasado Alexander Adam It may also be related to schema evolution. Can you post the database and/or a test? support Support This error might have been caused by partial build ( compilation

retrieval again and again started

as already mentioned in other posts the database again and again goes for a retrieval like ... in this log seem different than in the original post , so hopefully build 2.9.0_02 did solve the main ... ). There is one place in which "SectionClassifier" from the original post (and all your previous reports

combined index not used

that is executed using a hint (will be explained in the next post ). As you have several heavy queries ... of the query from the post above it will select the 2nd query plan. Selecting a query plan by text (e.g ... further issues. Then run the "objectdb statistics" query again using build 2.8.0_03. If you can post

ObjectDB 2.5.6

a NullPointerException in query compilation . Fixed a memory leak (Negative snapshot user count) in

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

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

is inevitable - it is similar to JVM errors in case of incomplete compilation of a project.   support Support

DISTINCT key causing internal exception on 2.6.4.b10

Alexander Golyshkin More details are needed. First, the query in your post is invalid since a closing ... should be posted . Finally, if you can follow these posting instructions and provide a simple test case

Best practice for history tracking

Avishay Ben Natan Could you please post the questions again to the ObjectDB forum ? The issue ... addition, every post should discuss one topic, so I think it would be better to separate the last question about UUID PK and post it as a separate thread. These questions are of great value

How to change properties in urls2.xml ?

request, so it should have been posted to the forum and not to the issue tracking system. Please read and follow the posting instructions . The post was moved to the forum and the issue will be closed. support Support

Memory leak in com.objectdb.o.CST

using the wrong size for pooling. Trianglehead Json Error Just to add to my last post (since forum edit ... ; Trianglehead Json Error Sorry for all the posts .  I think you can safely skip most of what I posted earlier. It seems like if I do several heavy queries I ObjectDB can crash.  How do I avoid