ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
188

JDO Annotations for Fetch Settings

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

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
60

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
57

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 join
57

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: IllegalArgumentException - if attribute of the given name does not exist Since: JPA 2.0
57

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
57

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
57

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
57

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
57

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

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