Top Description Methods
org.hibernate.annotations

public @Interface Loader

extends Annotation
Annotations
@Target:TYPE, FIELD, METHOD
@Retention:RUNTIME
@Deprecated
since:6.2
Imports
java.lang.annotation.Retention, .Target

Deprecated

since 6.2.

Use SQLSelect or HQLSelect.

Specifies that a named query should be used to load an entity or collection, overriding the SQL that Hibernate generates by default.
Author
László Benke

Method Summary

Modifier and TypeMethod and Description
public String
namedQuery()

The named query to use for loading the entity or collection.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

namedQueryback to summary
public String namedQuery()

The named query to use for loading the entity or collection.