ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
65

javax.persistence.criteria.Fetch

javax.persistence.criteria Interface Fetch<Z,X> Superinterfaces: FetchParent<Z,X> Represents a join-fetched association or attribute. Since: JPA 2.0 Fetch<X,Y> fetch(String attributeName) Create a fetch join to the specified attribute using an inner join. Create a fetch join to the specified
61

Retrieving JPA Entity Objects

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

fetch(attributeName, jt)

Method javax.persistence.criteria.FetchParent Fetch<X,Y> 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 join
53

fetch(attributeName)

Method javax.persistence.criteria.FetchParent Fetch<X,Y> 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: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0
53

fetch(attribute, jt)

Method javax.persistence.criteria.FetchParent Fetch<X,Y> fetch( SingularAttribute<?,Y> 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
53

fetch(attribute)

Method javax.persistence.criteria.FetchParent Fetch<X,Y> fetch( SingularAttribute<?,Y> 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
53

OneToOne.fetch

Annotation Element javax.persistence.OneToOne FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entity must be eagerly fetched. The LAZY strategy
53

ManyToMany.fetch

Annotation Element javax.persistence.ManyToMany FetchType fetch (Optional) Whether the association should be lazily loaded or must be eagerly fetched. The EAGER strategy is a requirement on the persistence provider runtime that the associated entities must be eagerly fetched. The LAZY strategy
53

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
17

JDO Annotations for Fetch Settings

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support