Class NamedQueryJpaAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.NamedQueryJpaAnnotation
- All Implemented Interfaces:
Annotation
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class NamedQueryJpaAnnotation
extends Object
implements NamedQuery
-
Constructor Summary
ConstructorsConstructorDescriptionNamedQueryJpaAnnotation
(NamedQuery annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variantNamedQueryJpaAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variantNamedQueryJpaAnnotation
(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
void
apply
(JaxbNamedHqlQueryImpl jaxbNamedQuery, XmlDocumentContext xmlDocumentContext) hints()
void
lockMode()
void
lockMode
(LockModeType value) name()
void
query()
void
Class<?>
void
resultClass
(Class<?> value)
-
Constructor Details
-
NamedQueryJpaAnnotation
public NamedQueryJpaAnnotation(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
NamedQueryJpaAnnotation
public NamedQueryJpaAnnotation(NamedQuery annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variant -
NamedQueryJpaAnnotation
public NamedQueryJpaAnnotation(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variant
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceAnnotation
-
name
-
name
-
query
-
query
-
resultClass
-
resultClass
-
lockMode
-
lockMode
-
hints
-
hints
-
apply
-