mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers
This commit is contained in:
parent
cc61914f0f
commit
a4b74e23cc
@ -145,12 +145,12 @@ public Identifier determineJoinColumnName(ImplicitJoinColumnNameSource source) {
|
||||
|| 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() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user