HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers

This commit is contained in:
Andrea Boriero 2015-11-26 14:58:41 +00:00
parent ca9e0424b4
commit 2e8d52e654
1 changed files with 2 additions and 2 deletions

View File

@ -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() );