About removal

forum_thread

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a mapped @OneToMany list and an unmapped @OneToMany list are viewable: a.listA_mapped:[{A}[4]"ownedElement1", {A}[5]"ownedElement2"] a.listB_unmapped:[{B}[2]"b1", {B}[3]"b2"] #1 2012-03-14 01:37 In the code example below (also attached) I would like to understand why I am able to print to console a lazy @On ...

 
forum_thread

JPA - ExceptionInInitializerError when creating EntityManager

EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of fragment from my project. public class Main {        final private static Properties EMAIL_PROPS;      final private static String EMAIL_FROM;            static {  EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU");  #1 2014-12-09 04:14 EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of ...

 
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. #1 2011-07-11 15:49 Hello support, I have seen multiple attempts to correct similar errors as in the title above - the latest ...

 
issue

Error on commit

I get the following on commit:  (v2.3.7_15) Let me know if you need more info. Bug Version: Priority: Normal Status: Closed Replies: 5 Type:  Bug ...

 
forum_thread

WebSphere Liberty Configuration

Hi! I've been trying to get ObjectDB configured with WebSphere Liberty server. I have been able to get the sample app running in TomCat but when I run the jee version of the guestbook in WebSphere I get a combination of errors depending on how I tweak the configuration the most promising error I get is this one: #1 2016-08-09 14:30 Hi! I've been trying to get ObjectDB configured with WebSphere Liberty server. I have been ab ...

 
forum_thread

java.sql.Date equals comparison not working with CriteriaAPI

Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java.sql.Date value doesn't match any results in the database. Our code looks like this: #1 2014-07-08 09:05 Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java.sql.Date value do ...

 
forum_thread

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

Hello, ObjectDB team! I am struggling with getting ObjectDB 2.5.0 to work with clean Apache Tomee 1.5.2 with transaction-type="JTA". I don't have any configurations in Tomee (objectdb.jar is in Tomee's classpath) nor other parts, excepting the following persistence.xml: #1 2013-05-20 21:55 Hello, ObjectDB team! I am struggling with getting ObjectDB 2.5.0 to work with clean Apache Tomee 1.5.2 w ...

 
issue

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

I'm getting the ClassCastException below when querying objects. As yet I haven't been able to track down the exact circumstance in which it occurs - saving and querying objects works fine on attempts to recreate - but presumably at some point an object gets saved which objectdb doesn't like. Any pointers as to what is wrong or approaches to investigate further would be much appreciated. Bug Version: 2.0.5 Priority: Critical Status: Fixed Replies: 6 Type:  Bug ...

 
forum_thread

locks on pure query activities

analyzing the dynamic behavior we can see from the thread dump that a lot of our threads that are just doing simple queries show locks like these (question is: why there are locks and how could we get rid of that):   log1:   #1 2017-04-28 09:28 analyzing the dynamic behavior we can see from the thread dump that a lot of our threads that are just doing simp ...

 
forum_thread

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works fine on Eclipselink. However when I try and run this in ObjectDb I get the following error; #1 2011-09-23 10:36 I have two classes a Container type class and another class that is 'contained' by that class. The co ...