Skip to content

Commit a4b74e2

Browse files
committed
HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers
1 parent cc61914 commit a4b74e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hibernate-core/src/main/java/org/hibernate/boot/model/naming/ImplicitNamingStrategyJpaCompliantImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,12 @@ public Identifier determineJoinColumnName(ImplicitJoinColumnNameSource source) {
145145
|| source.getAttributePath() == null ) {
146146
name = transformEntityName( source.getEntityNaming() )
147147
+ '_'
148-
+ source.getReferencedColumnName();
148+
+ source.getReferencedColumnName().getText();
149149
}
150150
else {
151151
name = transformAttributePath( source.getAttributePath() )
152152
+ '_'
153-
+ source.getReferencedColumnName();
153+
+ source.getReferencedColumnName().getText();
154154
}
155155

156156
return toIdentifier( name, source.getBuildingContext() );

0 commit comments

Comments
 (0)