Class JPAXMLOverriddenAnnotationReader
- java.lang.Object
-
- org.hibernate.boot.model.internal.JPAXMLOverriddenAnnotationReader
-
- All Implemented Interfaces:
org.hibernate.annotations.common.reflection.AnnotationReader
public class JPAXMLOverriddenAnnotationReader extends Object implements org.hibernate.annotations.common.reflection.AnnotationReader
Encapsulates the overriding of Java annotations from an EJB 3.0 descriptor (orm.xml, ...).
-
-
Constructor Summary
Constructors Constructor Description JPAXMLOverriddenAnnotationReader(AnnotatedElement el, XMLContext xmlContext, BootstrapContext bootstrapContext)
-
Method Summary
-
-
-
Constructor Detail
-
JPAXMLOverriddenAnnotationReader
public JPAXMLOverriddenAnnotationReader(AnnotatedElement el, XMLContext xmlContext, BootstrapContext bootstrapContext)
-
-
Method Detail
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotation
in interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
isAnnotationPresent
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
- Specified by:
isAnnotationPresent
in interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotations
in interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
buildNamedEntityGraph
public static List<NamedEntityGraph> buildNamedEntityGraph(List<JaxbNamedEntityGraph> elements, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildNamedStoreProcedureQueries
public static List<NamedStoredProcedureQuery> buildNamedStoreProcedureQueries(List<JaxbNamedStoredProcedureQuery> elements, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildSqlResultSetMappings
public static List<SqlResultSetMapping> buildSqlResultSetMappings(List<JaxbSqlResultSetMapping> elements, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildNamedQueries
public static List<NamedQuery> buildNamedQueries(List<JaxbNamedQuery> elements, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildNamedNativeQueries
public static List<NamedNativeQuery> buildNamedNativeQueries(List<JaxbNamedNativeQuery> elements, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildTableGeneratorAnnotation
public static TableGenerator buildTableGeneratorAnnotation(JaxbTableGenerator element, XMLContext.Default defaults)
-
buildSequenceGeneratorAnnotation
public static SequenceGenerator buildSequenceGeneratorAnnotation(JaxbSequenceGenerator element)
-
-