Package org.hibernate.annotations

Annotation Interface NamedNativeQuery


@Target({TYPE,PACKAGE})@Retention(RUNTIME)@Repeatable(NamedNativeQueries.class)public @interfaceNamedNativeQuery
Declares a named query written in native SQL.

WhereasNamedNativeQuery allows settings to be specified using stringly-typedQueryHints, this annotation is typesafe.

Note that the members of this annotation correspond to hints enumerated byAvailableHints.

See Also: