diff --git a/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java b/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java index b7f9108aef..4413a5c34c 100644 --- a/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java +++ b/hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java @@ -18,7 +18,6 @@ import org.hibernate.AnnotationException; import org.hibernate.AssertionFailure; import org.hibernate.MappingException; import org.hibernate.annotations.JoinColumnOrFormula; -import org.hibernate.annotations.JoinColumnsOrFormulas; import org.hibernate.annotations.JoinFormula; import org.hibernate.annotations.common.reflection.XClass; import org.hibernate.boot.model.naming.EntityNaming; @@ -499,9 +498,6 @@ public class Ejb3JoinColumn extends Ejb3Column { boolean ownerSide = getPropertyName() != null; boolean isRefColumnQuoted = StringHelper.isQuoted( logicalReferencedColumn ); - final String unquotedLogicalReferenceColumn = isRefColumnQuoted - ? StringHelper.unquote( logicalReferencedColumn ) - : logicalReferencedColumn; if ( mappedBySide ) { // NOTE : While it is completely misleading here to allow for the combination