Class NamedNativeQueryAnnotation
java.lang.Object
org.hibernate.boot.models.annotations.internal.NamedNativeQueryAnnotation
- All Implemented Interfaces:
Annotation
@Generated("org.hibernate.orm.build.annotations.ClassGeneratorProcessor")
public class NamedNativeQueryAnnotation
extends Object
implements NamedNativeQuery
-
Constructor Summary
ConstructorsConstructorDescriptionNamedNativeQueryAnnotation
(Map<String, Object> attributeValues, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from Jandex variantNamedNativeQueryAnnotation
(NamedNativeQuery annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variantNamedNativeQueryAnnotation
(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation>
void
apply
(JaxbNamedNativeQueryImpl jaxbNamedQuery, XmlDocumentContext xmlDocumentContext) boolean
void
cacheable
(boolean value) void
cacheRegion
(String value) void
void
cacheStoreMode
(CacheStoreMode value) boolean
callable()
void
callable
(boolean value) comment()
void
int
void
fetchSize
(int value) flush()
void
flush
(QueryFlushMode value) void
flushMode
(FlushModeType value) name()
void
query()
void
String[]
void
querySpaces
(String[] value) boolean
readOnly()
void
readOnly
(boolean value) Class<?>
void
resultClass
(Class<?> value) void
resultSetMapping
(String value) int
timeout()
void
timeout
(int value)
-
Constructor Details
-
NamedNativeQueryAnnotation
public NamedNativeQueryAnnotation(org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating dynamic annotation instances (e.g. from XML) -
NamedNativeQueryAnnotation
public NamedNativeQueryAnnotation(NamedNativeQuery annotation, org.hibernate.models.spi.SourceModelBuildingContext modelContext) Used in creating annotation instances from JDK variant -
NamedNativeQueryAnnotation
public NamedNativeQueryAnnotation(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
-
resultSetMapping
-
resultSetMapping
-
flush
-
flush
-
flushMode
-
flushMode
-
cacheable
public boolean cacheable() -
cacheable
public void cacheable(boolean value) -
cacheRegion
-
cacheRegion
-
fetchSize
public int fetchSize() -
fetchSize
public void fetchSize(int value) -
timeout
public int timeout() -
timeout
public void timeout(int value) -
comment
-
comment
-
cacheStoreMode
-
cacheStoreMode
-
cacheRetrieveMode
-
cacheRetrieveMode
-
cacheMode
-
readOnly
public boolean readOnly() -
readOnly
public void readOnly(boolean value) -
querySpaces
-
querySpaces
-
callable
public boolean callable() -
callable
public void callable(boolean value) -
apply
-