Home » Search

About retrieve

161-170 of 200Refresh
Forum
2

TimeSeries and ObjectDB

to the TimeSerie entity - I currently have to retrieve the whole timerserie since beginning of time ... it terms of space and retrieval speed but may be more expansive in updates. See a recent forum thread ... terminology is) - so do i really need a parent object? Is it faster for queries? Thanks   Retrieval
Forum
2

Unable to persist TreeMap

.class, 1);         System.out.println("Retrieved memberships: " + p.memberships);         emf.close ... Association=President} Retrieved memberships: {}   Just tried and the output is as expected: Created memberships: {Bar Association=President} Retrieved memberships: {Bar Association=President
Forum
1

ClassCastException of same object type

and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved. I get the following error: java.lang.ClassCastException: org ... then get the exception.  The retrieved object seems to exist only as an ICoreObject, not as a XCCompetitorCount
Forum
1

Fetching Collections Puzzle

retrieve the Nodes stored in this list. Because no matter what I try, if I dont declare the FetchType to Eager, the children field of all my retrieved nodes are of size zero When I declare the FetchType as Eager, then isn't the database actually retrieving the whole graph stored in the database
Forum
1

find() cost unreasonable time!

"? TIA It means loading the graph eagerly (see Retrieval by Eager Fetch in the manual). the effect ... ()? Find is very efficient in retrieving a single entity object but less efficient when you need to retrieve many entity objects (524,290 in your test). In that case - you should use a query. Eager
Forum
1

Is it possible to commit only specific elements?

, retrieving only the needed ones, creating new ones (which I want to commit), detaching the ones I've previously retrieved and finally committing. My context is big data and performance is an issue ... the persistency context and retrieving/creating only the required entries.  I
Forum
1

Level 2 cache not hit in @ManyToOne

cache is to improve performance mainly by minimizing client server round trips. Therefore, retrieval ... between objects which requires transparent retrieval of referenced objects, always uses the L2 ... . However, in that case, if not all the results are cached, retrieving them later may require
Forum
1

Memory Leak?

it and then retrieve each of the object one by one. The object is key by Long. Here is the jmap at time1: num ... and other HashMap. Here is the code that retrieves the data. I'm pretty sure I'm not holding objects ... ) {     logger("Retrieved " + j + " objects. Last object: " + d);    }    em.getTransaction().commit
Forum
1

multi thread application, id field sporadically null

you create, persist and retrieve the objects. Except the id field, are other fields initialized correctly ... ? It seems impossible to retrieve an object from the database without its id, since the first thing in every object retrieval is setting the id. Maybe you retrieve a cached object from memory, which is a new object
Issue
1

new objects not available in mappedBy associations

when the object is retrieved from the database again. Try to refresh the department object ... /persistence/retrieve#Retrieval_by_Refresh > If the mappedby tag maps to: > SELECT e from EMPLOYEE e ... already contains a value - it will not be run again unless the object is retrieved again from the database