From 2e8d52e654b1d0df234dbd001139db57bb548821 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Thu, 26 Nov 2015 14:58:41 +0000 Subject: [PATCH] HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers --- .../model/naming/ImplicitNamingStrategyJpaCompliantImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategyJpaCompliantImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategyJpaCompliantImpl.java index afa507404c..a6b0996a5c 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategyJpaCompliantImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategyJpaCompliantImpl.java @@ -145,12 +145,12 @@ public class ImplicitNamingStrategyJpaCompliantImpl implements ImplicitNamingStr || source.getAttributePath() == null ) { name = transformEntityName( source.getEntityNaming() ) + '_' - + source.getReferencedColumnName(); + + source.getReferencedColumnName().getText(); } else { name = transformAttributePath( source.getAttributePath() ) + '_' - + source.getReferencedColumnName(); + + source.getReferencedColumnName().getText(); } return toIdentifier( name, source.getBuildingContext() );