From 07bfbbfa1ee88d6f36b25c43e44f7de242cf3b9f Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Tue, 14 Feb 2012 05:54:00 +0800 Subject: [PATCH] fixing org.hibernate.metamodel.internal.source.annotations.xml.OrmXmlParserTests#testSimpleOrmVersion1 test failure --- .../internal/source/annotations/attribute/MappedAttribute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/MappedAttribute.java b/hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/MappedAttribute.java index 800c2844e5..db25d21ecd 100644 --- a/hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/MappedAttribute.java +++ b/hibernate-core/src/main/java/org/hibernate/metamodel/internal/source/annotations/attribute/MappedAttribute.java @@ -193,7 +193,7 @@ public abstract class MappedAttribute implements Comparable { annotations, JPADotNames.JOIN_COLUMN ); - if ( columnAnnotation != null ) { + if ( joinColumnAnnotation != null ) { columnValues.add( new Column( joinColumnAnnotation ) ); }