About eager

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 ...

 
forum_thread

performance limit

Hi, can someone share expirience with performance limits of ObjectDB especialy when quering tables with large records sets. Our issue is with tables with 100.000+ records. Everything was OK when we had few thousand records. We have a simple SELECT statement which selects from a table with 100.000+ records by UserID atribute, tables have from 5 to 20 atributes. Usualy the results range from few hundred to few thousand records. This query takes up to 12 seconds. Is this normal, what when we will have few milion records, how to handle this. ... Loading the query results could be very slow if eager fetch is used extensively, and then your 6500 result objects may ...

 
forum_thread

Trouble bug on explorer

Hello having trouble when i try to push new objects from class. I got exception from explorer.     ... OneToOne ( fetch = FetchType . EAGER ) private Language mainLanguage ; @ ...

 
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 ...

 
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 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

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 ...

 
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

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 ...