Home » Search

About fetch

61-70 of 200Refresh
Forum
15

Fetch Set from DB only works on debug mode

I have a class A, that contains a LinkedHashSet of  another class named B. When I try to fetch that hash set, it returns a null pointer. BUT, when I run the program in debug mode, it works fine!! So I'm almost sure it is a bug? Or maybe something I'm doing wrong? Here is a test class that shows
Manual
13

JPA Entity Fields

=CascadeType.ALL) MyEntity field2; @OneToMany(fetch=FetchType.EAGER) List field3 ... that field. Cascade and fetch settings are explained in chapter 3. A persistent field whose type
Manual
13

Setting and Tuning of JPA Queries

ObjectDB. "objectdb.result-fetch" - sets fetch mode for query result as either "EAGER" (the default) or
JDO Doc
11

javax.jdo.FetchGroup

javax.jdo Interface FetchGroup FetchGroup represents a named fetch group for a specific class or interface. A fetch group instance identifies the name of the class or interface, the list of members (fields or properties) to be fetched when the fetch group is active, and the recursion depth for each
JDO Doc
10

javax.jdo.annotations.FetchGroup

javax.jdo.annotations Annotation FetchGroup Target: Classes Annotation for the fetch group of a class. Corresponds to the xml element "fetch-group". Since: JDO 2.1 String[] fetchGroups Fetch groups to be nested (included) in this fetch group. Fetch groups to be nested (included) in this fetch group
JDO Doc
10

javax.jdo.annotations.FetchPlan

javax.jdo.annotations Annotation FetchPlan Target: Classes Annotation for the fetch plan of a persistence manager, query, or extent. Corresponds to the xml element "fetch-plan". Since: JDO 2.1 String[] fetchGroups The fetch groups in this fetch plan. The fetch groups in this fetch plan. Returns
JPA Doc
9

JPA Annotations for Relationships

annotation enables configuring cascade and fetch policy, using the following enum types: Additional
Manual
9

JPA Criteria API Queries

, construct). FROM clause (from, join, fetch). WHERE clause (where). GROUP BY / HAVING clauses (groupBy
Manual
9

JPA Query Structure (JPQL / Criteria)

, array, tuple, construct). Criteria FROM (from, join, fetch). Criteria WHERE (where). Criteria
JPA Doc
9

JPA Queries

variables, join and fetch): Other criteria query expressions (for all the query clauses):