Package org.hibernate.annotations
Annotation Type Loader
-
@Target({TYPE,FIELD,METHOD}) @Retention(RUNTIME) @Deprecated(since="6.2") public @interface Loader
Specifies that a named query should be used to load an entity or collection, overriding the SQL that Hibernate generates by default.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String
namedQuery
Deprecated.The named query to use for loading the entity or collection.
-
-
-
Element Detail
-
namedQuery
String namedQuery
Deprecated.The named query to use for loading the entity or collection.- Default:
- ""
-
-