About ORDER BY

forum_thread

Online backup problem

Hi, We are trying to create a servlet that performs database online backup. Unfortunately, even though no exception is thrown, backup files aren't created. When I turn on DEBUG logging in ODB, I get multiple ClassNotFoundExceptions like : ... 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 ...

 
issue

NullpointerException at a normal select

When I run the following code: EntityManager em = getEm(); Customer result = null; try {     logger.debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult(); } catch (javax.persistence.NoResultException nre) { } finally {      em.close(); } I get the following error (you can also see the log message containing the String parameter at the top): ... 2.5.6_02] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0 (on Mac OS X 10.9.5). Please report ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

Calendar in Criteria Querys

Hi, i am having troubles creating criteria querys for Calendar objects. As far as I can see CriteriaBuilder has no methods for checking if one Calendar is bevor or after another. Javas Calendar Class got such methods, but i dont know how to use those in my query. ... 2.3.4] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Client VM 1.7.0 (on Windows 7 6.1). Please report this ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

Eclipse plugin problem (using ObjectDB as a separate bundle)

Hello support, I have seen multiple attempts to correct similar errors as in the title above - the latest in the 2.2.8.01 release of objectDb. However I still get this error.   Here is my scenario (Groovy 1.8 and Eclipse 3.6) used. I have a com.epimss.lab.data.toxicology.TherapeauticDrugScreenRqst. Nested in this class are the following two classes: com.epimss.lab.data.misc.OtherRqst and com.epimss.lab.data.misc.RequestDateAndNumber. ... In an attempt to isoloate the problem I cleaned by project, and enhanced with ObjectDB with the small utility class ... is not cascaded automatically to referenced objects by default. Therefore, when you persist an object it must reference only ...

 
issue

InternalException using 2.3.7_12

Sorry can't shed any light on this, other than the code where this came out of, worked fine with 2.3.7_02. I had to upgrade to 2.3.7_12 to pickup the fix for wildcard search on index, and now get this. [ObjectDB 2.3.7_12] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_21 (on Linux 3.0.0-16-generic). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException... 2.3.7_12] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_21 (on Linux ... 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

How to deploy an Objectdb project with Jboss AS 7?

Hi, I cannot deploy Guestbook project to Jboss AS 7. I followed the previous threads concerning the issue of deploying it to Jboss 6 but still cannot do it right. It still cannot find the provider. Is there an instruction how to deploy objectdb project to Jboss AS 7 step by step?   I used objectdb-jee.jar instead of objectdb.jar I used persistence.xml with the sentence <jta-data-source>java:/DefaultDS</jta-data-source>   ... how to deploy objectdb project to Jboss AS 7 step by step?   I used objectdb-jee.jar instead of ... [rt.jar:1.7.0_21] Caused by: javax.persistence.PersistenceException: JBAS011466: PersistenceProvider ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
issue

NullPointerException in __odbGetNumMember

Hi,   hi, When deleting an entity "Mitglied" -> everything works fine. Trying to delete another one (in a separate transaction) always causes a NullPointer Exception in __odbGetNumMember line 1 of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in our implementation. I am posting the stack trace in the hope that it'll help to figure what's going wrong: ... This error might have been caused by partial build (compilation / enhancement). The issue will be closed. ... Avoid overflow of published source code examples by breaking long lines . You may mark in paragraph code words ...

 
forum_thread

type.loader java.lang.ClassNotFoundException

ObjectDB objectdb-2.2.5_03 in client-server mode Netbeans ID6.9.1 Glassfish3.0.1 With server logging turned on I get the following error message for many (or all) encountered classes: ... 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 with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... [.cp/:na] Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException ... ... 24 common frames omitted Caused by: java.io.FileNotFoundException: class path resource ... i'm convinced that this is not a problem caused by objectdb. thanks for your time and support. ...

 
forum_thread

OutofMemory error with Object DB 2.0

Hi, I am getting the below OutOfMemoryError after I have migrated from objectdb 1.0 to 2.0 The application works with 256MB heap size with objectdb 1.0  But on 2.0 even with max heap size of 1024MB, I get this error. The application reads xml file of around 1GB and creates a new odb file and inserts 200 records at a time. ... not released on commit automatically. This could be solved by calling JPA's clear or similar methods, but if this is the problem, it would be better to solve it by enhancing the classes. ObjectDB Support ...