Class JPAOverriddenAnnotationReader
- java.lang.Object
-
- org.hibernate.cfg.annotations.reflection.JPAOverriddenAnnotationReader
-
- All Implemented Interfaces:
org.hibernate.annotations.common.reflection.AnnotationReader
public class JPAOverriddenAnnotationReader extends Object implements org.hibernate.annotations.common.reflection.AnnotationReader
Encapsulates the overriding of Java annotations from an EJB 3.0 descriptor.
-
-
Constructor Summary
Constructors Constructor Description JPAOverriddenAnnotationReader(AnnotatedElement el, XMLContext xmlContext, BootstrapContext bootstrapContext)JPAOverriddenAnnotationReader(AnnotatedElement el, XMLContext xmlContext, ClassLoaderAccess classLoaderAccess)Deprecated.UseJPAMetadataProvider(AnnotatedElement, XMLContext, BootstrapContext)instead.
-
Method Summary
-
-
-
Constructor Detail
-
JPAOverriddenAnnotationReader
public JPAOverriddenAnnotationReader(AnnotatedElement el, XMLContext xmlContext, ClassLoaderAccess classLoaderAccess)
Deprecated.UseJPAMetadataProvider(AnnotatedElement, XMLContext, BootstrapContext)instead.
-
JPAOverriddenAnnotationReader
public JPAOverriddenAnnotationReader(AnnotatedElement el, XMLContext xmlContext, BootstrapContext bootstrapContext)
-
-
Method Detail
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
- Specified by:
getAnnotationin interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
isAnnotationPresent
public <T extends Annotation> boolean isAnnotationPresent(Class<T> annotationType)
- Specified by:
isAnnotationPresentin interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
getAnnotations
public Annotation[] getAnnotations()
- Specified by:
getAnnotationsin interfaceorg.hibernate.annotations.common.reflection.AnnotationReader
-
buildNamedEntityGraph
public static List<NamedEntityGraph> buildNamedEntityGraph(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildNamedStoreProcedureQueries
public static List<NamedStoredProcedureQuery> buildNamedStoreProcedureQueries(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildSqlResultsetMappings
public static List<SqlResultSetMapping> buildSqlResultsetMappings(org.dom4j.Element element, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildNamedQueries
public static List buildNamedQueries(org.dom4j.Element element, boolean isNative, XMLContext.Default defaults, ClassLoaderAccess classLoaderAccess)
-
buildTableGeneratorAnnotation
public static TableGenerator buildTableGeneratorAnnotation(org.dom4j.Element element, XMLContext.Default defaults)
-
buildSequenceGeneratorAnnotation
public static SequenceGenerator buildSequenceGeneratorAnnotation(org.dom4j.Element element)
-
-