Home » Search

About fetch

1-10 of 200 Refresh
JDO Doc
181

JDO Annotations for Fetch Settings

The following annotations are used to define JDO fetch groups and fetch plans:
Manual
91

Retrieving JPA Entity Objects

Fetch Retrieval of an entity object from the database might cause automatic retrieval of additional ... using a lazy fetch type: @Entity class Employee { : @ManyToOne( fetch=FetchType.LAZY ... with the FetchType.LAZY fetch policy is initialized to reference a new managed hollow object (unless
JPA Doc
71

Criteria Query From Elements

Fetch Elements Join Fetch is managed in criteria queries by the following interfaces: See the FROM in Criteria Queries section for more details and an example.
JPA Doc
70

javax.persistence.criteria.Fetch

javax.persistence.criteria Interface Fetch Superinterfaces: FetchParent Represents a join- fetched association or attribute. Since: JPA 2.0 Fetch fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified
JPA Doc
56

fetch(attribute)

Method javax.persistence.criteria.FetchParent Fetch fetch(   SingularAttribute  attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Parameters: attribute - target of the join Returns: the resulting fetch join Since: JPA 2.0
JPA Doc
56

fetch(attribute, jt)

Method javax.persistence.criteria.FetchParent Fetch fetch(   SingularAttribute  attribute,   JoinType jt ) Create a fetch join to the specified single-valued attribute using the given join type. Parameters: attribute - target of the join jt - join type Returns: the resulting fetch join Since: JPA 2.0
JPA Doc
56

fetch(attributeName)

Method javax.persistence.criteria.FetchParent Fetch fetch(   String attributeName ) Create a fetch join to the specified attribute using an inner join. Parameters: attributeName - name of the attribute for the target of the join Returns: the resulting fetch join Throws
JPA Doc
56

fetch(attributeName, jt)

Method javax.persistence.criteria.FetchParent Fetch fetch(   String attributeName,   JoinType jt ) Create a fetch join to the specified attribute using the given join type. Parameters: attributeName - name of the attribute for the target of the join jt - join type Returns: the resulting fetch
JPA Doc
55

Basic.fetch

Annotation Element javax.persistence.Basic FetchType fetch (Optional) Defines whether the value of the field or property should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the value must be eagerly fetched. The LAZY
JPA Doc
55

ElementCollection.fetch

Annotation Element javax.persistence.ElementCollection FetchType fetch (Optional) Whether the collection should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the collection elements must be eagerly fetched. The LAZY