About eager

issue

TYE NullPointerException

I've been seeing the following stack trace in a couple of tests today: ... recreate the problem. I've now added a FetchType of EAGER to the member to ensure a load takes place regardless of attached status ...

 
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

Performance issues on aggregate query

we are using this aggregate query to collect some data: #1 2016-11-09 07:49 we are using this aggregate query to collect some data: select p3.doubleValue,c1.classIdentifier,c1.objec ...

 
forum_thread

find() delay

Hi, I tried objectdb in following steps: 1, for 1 to 30 {trans.begin(); create typeC o; em.persist(o); trans.commit();} 2, for 1 to 30 {p = em.find(typeC.class, i); print(p)} So simple a test, there is no result in one go; I have to disable step 1 and run again, then Step 2 output the expected results. I tried em.flush(), em.clear(), etc.. that do not work. Any idea? TIA ... = "parent" , fetch = FetchType . EAGER ) protected List<Node> Sons ;   public ...

 
issue

ArrayIndexOutOfBoundException

Hello, we got this exception when using ObjectDB: ... OneToOne ( fetch = FetchType . EAGER ) private CacheableJobInfo ji ;   @ OneToOne ( fetch = FetchType . EAGER ) private CacheableJobLog jl ;   } ...

 
forum_thread

Criteria query error: Unexpected query token

Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it by getting back all instances (e.g. findAll, I get the following error:   #1 2011-04-09 10:27 Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it b ...

 
forum_thread

Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: ... CascadeType . ALL , fetch = FetchType . EAGER , orphanRemoval = true ) private ...

 
forum_thread

ObjectDB Clustering VS Hadoop Hbase

The Hbase is an open source distributed database on Hadoop, it is robust regardless of the performance problem. The ObjectDB cluster may be a distributed database, I guess. But I dont know whether it has only one entry, or each node has an entry. Could you please explain the difference between Hbase and ObjectDB clustering? TIA   #1 2011-11-01 13:31 The Hbase is an open source distributed database on Hadoop, it is robust regardless of the performance problem. T ...

 
forum_thread

Mapped By Fetch is very Slow

Well ! I think i pointed out a HUGE performance issue with mapped-by attribute (yeah again :( ). Here is the test case : 1- Create 100 000 entities with for each 1 entity with @OneToOne(mappedBy attribute) 2- Retrieve only 10 000 for testing 3- Wait ... On my AMD FX 8350, it took 60s Now, go the MyEntity class and remove "mapped-by". You obtain 1 second max of query fetch. ... reference from MyEntity to  MyEntityChild is eager. Therefore, retrieval of 10,000 MyEntity instances is followed by ...

 
forum_thread

Connection is closed (error 526)

Serval times I found the c/s method will close by unknown reason, when I read only the db. ... to load the entire tree into memory. Try replacing EAGER with LAZY . ObjectDB Support ObjectDB ...