About fetch

api-jpa

javax.persistence.ManyToMany

Defines a many-valued association with many-to-many multiplicity.(Annotation of JPA)

 
release

2.2.7

... . Fixed a bug in applying nested eager fetch when enhancement is disabled. Fixed the "Annotated methods ... Improved Explorer performance by disabling EAGER fetch. Fixed critical bugs in using flush. Fixed ...

 
release

2.2.5

... Improved Explorer performance by disabling EAGER fetch. Fixed critical bugs in using flush. Fixed ... deadlock bug . Fixed a bug in using JOIN FETCH with DISTINCT. Fixed Metamodel API's getTypeId ...

 
api-jpa

javax.persistence.OneToOne

Defines a single-valued association to another entity that has one-to-one multiplicity.(Annotation of JPA)

 
forum_thread

Object as parameter results in exception

Hi,    I've got a simple JPA2 Criteria query which fails when doing an object equality. I verified this against EclipseLink and over there, it works. I'll Attach some code snippets to help figure it out:   @Entity() public class Product{ . . . @ManyToOne     private Compamy owningCompany; } @Entity() public class Company{    .    .    .     @Id    private Long id; } and the query: ...   @ Override public T fetch ( Company company, Long primaryKey ) { ...   @ Override public T fetch ( Company company, Long primaryKey ) { ...

 
release

2.2.9

... non standard database file suffixes. Changed fetch of collection elements. Fixed a bug in query plans that use ... . Fixed a bug in applying nested eager fetch when enhancement is disabled. Fixed the "Annotated methods ...

 
release

2.2.4

... Improved Explorer performance by disabling EAGER fetch. Fixed critical bugs in using flush. Fixed ... deadlock bug . Fixed a bug in using JOIN FETCH with DISTINCT. Fixed Metamodel API's getTypeId ...

 
api-jdo

javax.jdo.PersistenceManagerFactory

The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances.(Interface of JDO)

 
release

2.3.0

... non standard database file suffixes. Changed fetch of collection elements. Fixed an ... . Fixed a bug in applying nested eager fetch when enhancement is disabled. Fixed the "Annotated methods ... Improved Explorer performance by disabling EAGER fetch. Fixed critical bugs in using flush. Fixed ...

 
manual

JPA Criteria API Queries

Explains how to use the JPA Criteria API (CriteriaBuilder, CriteriaQuery, etc.) to build JPQL like queries.... join type. See JavaDoc Reference Page... , fetch fetch(attributeName) FetchParent's method Create a fetch join to ...