About ORDER BY

forum_thread

Failing to read entities under load in multithreaded tests

Hi, We are experiencing an issue in our application that only occurs under load - we sometimes fail to read entities from the database. ... 2.3.7] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_27 (on Windows 7 6.1). Please report ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
issue

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok. The attached code attempts to replicate the scenario. Its not an exact match but is the best I could come up with without replicating the whole system. The test creates an object, persists it to a db and re-loads it. The EntityManager is closed before accesing any fields. Finally the nested map is accessed and printed to screen. ... Sure - thats fine by me. Just for reference what environment are you running in? (Just in ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

@Transient

Hello, I have a persistent class which looks something like this: @Entity public class Test { private String string; private Date date; @Transient private boolean test; // getters/setters } When I persist the class the transient 'boolean test' is stored in the database, maybe I am doing it wrong but I expect... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Tomcat + JPA Problem

Hi i tried to setup the example from your webpage (jpa - Tomcat with Ecplipse) and i always get this Error: [ObjectDB 2.1.0] class "javax.persistence.Entity"'s signer information does not match signer information of other classes in the same package   ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Primary key generation problem after changing entity package

Hi, I changed package name for some of my entities in database. I added info in <schema><package... /></schema> of my configuration file - and the changes have been succesfully made in database. Unfortunately, sequences have been probably lost for changed entity classes. After schema change I keep getting errors : Attempt to reuse an existing primary key value... My primary keys are annotated as shown below : ... homplex.boostrap.F372.main(F372.java:22) Caused by: com.objectdb.o.UserException: Duplicate definition of generator ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... as the ObjectDB manual says: Enhancement by a Java agent is very easy to use and convenient during development. For ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... .main ( Server. java :66 ) Caused by: org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: ... ( Unknown Source ) Caused by : org. xml . sax . SAXParseException : cvc - datatype - ... src.run.Exec.main(Exec.java:375) Caused by: com.objectdb.o._PersistenceException: Login Error (unauthorized IP address ...

 
forum_thread

Enhancer -s broken

Hi, after upgrading to ObjectDB 2.5.4_04 we noticed that the enhancer option -s is currently broken. According to your docs <java classname="com.objectdb.Enhancer" fork="true"     classpath="c:\objectdb\bin\objectdb.jar">   <arg line="-s c:\my-project\classes\*.class"/> </java> we've added the enhancer to our ant build: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

What algorithm in find()

I test the time cost for find(), obtain a linear complexity with the following codes: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...

 
forum_thread

Problem undeploying Glassfish3.1.1 web application cleanly

objectdb-2.3.7_18 When I undeploy a Glassfish3.1.1 web application when using @PersistenceContext EntityManager injection, using the undeploy feature under the Glassfish server node  of Netbeans7.1, I get the following otherwise harmless error: ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ... names) with the code style (can be applied by ctrl + D). Long stack traces (> 50 lines) and complex ...