Interface Reference

All Known Subinterfaces:
StatementReference, TypedQueryReference<R>
All Known Implementing Classes:
StaticStatementReference, StaticTypedQueryReference

public sealed interface Reference permits StatementReference, TypedQueryReference<R>
A reference to a named statement or query declared via the NamedQuery or NamedNativeQuery annotations, or using StaticQuery or StaticNativeQuery. An instance of Reference is usually obtained from the static metamodel. This interface declares operations common to StatementReference and TypedQueryReference.
Since:
4.0