mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-04 16:59:29 +00:00
More changeset cleanup.
This commit is contained in:
parent
5cbffa051d
commit
48f5b51ca7
@ -760,6 +760,12 @@ else if ( isJavaAnnotationPresent( ElementCollection.class ) ) { //JPA2
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( Lob.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( Enumerated.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( Temporal.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( Column.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( OrderColumn.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( MapKeyClass.class );
|
||||
@ -774,12 +780,6 @@ else if ( isJavaAnnotationPresent( ElementCollection.class ) ) { //JPA2
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( MapKeyJoinColumns.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( Column.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( Temporal.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( Enumerated.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
annotation = getJavaAnnotation( CollectionTable.class );
|
||||
addIfNotNull( annotationList, annotation );
|
||||
}
|
||||
@ -839,6 +839,7 @@ private void addTargetClass(Element element, AnnotationDescriptor ad, String nod
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Complete parsing of all element-collection related xml
|
||||
private void getElementCollection(List<Annotation> annotationList, XMLContext.Default defaults) {
|
||||
for ( Element element : elementsForProperty ) {
|
||||
if ( "element-collection".equals( element.getName() ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user