fixing org.hibernate.metamodel.internal.source.annotations.xml.OrmXmlParserTests#testSimpleOrmVersion1 test failure

This commit is contained in:
Strong Liu 2012-02-14 05:54:00 +08:00
parent 0e746d2723
commit 07bfbbfa1e
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ public abstract class MappedAttribute implements Comparable<MappedAttribute> {
annotations, annotations,
JPADotNames.JOIN_COLUMN JPADotNames.JOIN_COLUMN
); );
if ( columnAnnotation != null ) { if ( joinColumnAnnotation != null ) {
columnValues.add( new Column( joinColumnAnnotation ) ); columnValues.add( new Column( joinColumnAnnotation ) );
} }