HHH-13496 Remove more dead code from Ejb3JoinColumn

This commit is contained in:
Sanne Grinovero 2019-07-24 17:38:34 +01:00
parent a2aee7917b
commit a2c6b82ada
1 changed files with 0 additions and 4 deletions

View File

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