Java org.hibernate.annotations FetchMode fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate.annotations FetchMode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate.annotations FetchMode.

The text is from its open source code.

Field

FetchModeSELECT
Use a secondary select for each individual entity, collection, or join load.
FetchModeJOIN
Use an outer join to load the related entities, collections or joins.
FetchModeSUBSELECT
Available for collections only.  When accessing a non-initialized collection, this fetch mode will trigger loading all elements of all collections of the same role for all owners associated with the persistence context using a single secondary select.