Home » Search

About eager

1-10 of 129Refresh
Manual
89

Retrieving JPA Entity Objects

its content, such as when a reference to it has to be set from another entity object. Retrieval by Eager ... .EAGER, indicating that the retrieval operation is cascaded through the field. Explicitly specifying ... an explicit FetchType.EAGER setting: @Entity class Employee { : @ManyToMany(fetch=FetchType
JPA Doc
77

FetchType.EAGER

Enum Constant javax.persistence.FetchType EAGER Defines that data must be eagerly fetched. Since: JPA 1.0
Forum
27

Lazy Init / Eager / Join Fetch collection strategy ? What to choose ?

different. Is an "All eager strategy" more efficient that many join fetch ( cartesian product + distinct ). ? In my first impressions ( not tested with metrics ), "all eager fetch" strategy ... entities, you will get a request for each collection to fetch of each object ! So ... "Eager fetch
Issue
26

Eager load Map

I'm having an issue eager loading a nested map. I've attached @ManyToMany(fetch=FetchType.EAGER) attributes to no avail. If the map is viewed in the debugger or force iterated in the code it loads ok ... in eager fetch of collections and maps of simple values. Build 2.3.2_04 should fix this problem
Forum
26

LAZY @ManyToOne field functions as EAGER

and as expected both a LAZY @ManyToOne field and an EAGER @ManyToOne field are viewable: b.cLazy:{C}[2 ... ;                 @ManyToOne(fetch=FetchType.EAGER, cascade= CascadeType.ALL)         C cEager ... EAGER) is merely a hint. For example, ObjectDB always loads simple value fields eagerly (e.g
Issue
26

Bulk load of eager mapped by (inverse) relationships

a separate client-server round trip. Future versions of ObjectDB should load eager mapped by (inverse) fields in bulk as well. Bulk load of eager mapped by (inverse) singular references is now supported in build 2.4.4_13. kborkowski lwalkowski
Forum
26

Eager Fetch is not stable for collection or map types?

Hi, thanks very much for your helpful software. The problem is the storage of collection or map types is not stable, we lost them sometimes after JVM restarted. Eager fetch is properly set ... .EAGER)     private List members = new ArrayList();     ....... } @Embeddable
Forum
26

Fetch a whole entity graph eager

Hello, I have two question at you. Are you provided JPA 2.1 annotation @NamedEntityGraph in next version ObjectDB 3.0? And do you know an easy possibility to get an entirely eager entity graph ... but will be supported in future versions. Currently supported: Field level eager fetch. JOIN FETCH queries. JDO fetch groups. btc_es
Issue
25

Eager Fetch of Map with Entities as Keys

{         @Id private long id = 1;         @OneToMany(fetch=FetchType.EAGER)         Map map = new
Forum
25

Is there a way to set EAGER fetch on all "ToMany" collection relationships

Given that the default seems to be FetchType.LAZY for all collections @OneToMany and @ManyToMany. Such as a configuration option. Instead of having to explicitly set fetch in annotation code in every relationship. No. There is no such configuration option, since having EAGER as the fetch type