Internal Website Search

31-40 of 200 resultsRefresh

Problem with @Basic(fetch = FetchType.LAZY)

I have a class where two fields are annotated with @Basic(fetch ... of the database on application startup (swing app). Yet they don't seem to be fetched lazily. fetch = FetchType

Fetching Collections Puzzle

explicitly the fetch strategy for "children" as FetchType.Eager, then how can I retrieve the Nodes ... are to be lazy fetched. You can try this in a query.  "select n from Node n left outer join fetch n.children where ....." this will also fetch your collection. Basically

Query with FETCH JOIN returns multiple results instead of one.

JOIN FETCH d.services WHERE d=:demand") .setParameter("demand", demand).getResultList(); I want this query to find one and only Demand object and fetch its services ... only one result, with fetched service sub-elements, shouldn't it? I am almost sure (but I

2.4.7 Fetch

am noticing in 2.4.7 that 'fetch' cannot be added to objectdb.conf so, wondering how to enable 'eager' fetching of collections ?   Dave Eager fetching has always been set by

Detaching objects after JOIN FETCH

with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want to fetch all B classes

Mapped By Fetch is very Slow

"mapped-by". You obtain 1 second max of query fetch. So my performance issue ... ) {    System.out.println("FAILED TO FETCH !");   } } Regards,  Support, When you fetch 10 000 entities of MyEntityParent

Is there any restriction when using fetch=FetchType.LAZY ?

Hi, I came across a weird behavior when using fetch=FetchType.LAZY in a complex ... -java"> @OneToMany(fetch=FetchType.EAGER, cascade = CascadeType.ALL) private LinkedList< ... . However when I change fetch to LAZY @OneToMany(fetch=FetchType.LAZY

Fetch a whole entity graph eager

: fetch">Field level eager fetch. fetch">JOIN FETCH queries. JDO

javax.jdo.JDOEntityManager

> . The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph of instances reachable from the pc parameter ... for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine

javax.jdo.PersistenceManager

> . The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph of instances reachable from the pc parameter ... > . The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch