Skip to content

Commit

Permalink
HHH-5794 More changeset cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmc24 authored and hferentschik committed Dec 16, 2010
1 parent a750936 commit e739e47
Showing 1 changed file with 7 additions and 6 deletions.
Expand Up @@ -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 );
Expand All @@ -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 );
}
Expand Down Expand Up @@ -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() ) ) {
Expand Down

0 comments on commit e739e47

Please sign in to comment.