mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 16:44:57 +00:00
HHH-10321 - HHH-9866 is alive; Wrong join table column names generation with globally_quoted_identifiers
This commit is contained in:
parent
ca9e0424b4
commit
2e8d52e654
@ -145,12 +145,12 @@ public Identifier determineJoinColumnName(ImplicitJoinColumnNameSource source) {
|
|||||||
|| source.getAttributePath() == null ) {
|
|| source.getAttributePath() == null ) {
|
||||||
name = transformEntityName( source.getEntityNaming() )
|
name = transformEntityName( source.getEntityNaming() )
|
||||||
+ '_'
|
+ '_'
|
||||||
+ source.getReferencedColumnName();
|
+ source.getReferencedColumnName().getText();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
name = transformAttributePath( source.getAttributePath() )
|
name = transformAttributePath( source.getAttributePath() )
|
||||||
+ '_'
|
+ '_'
|
||||||
+ source.getReferencedColumnName();
|
+ source.getReferencedColumnName().getText();
|
||||||
}
|
}
|
||||||
|
|
||||||
return toIdentifier( name, source.getBuildingContext() );
|
return toIdentifier( name, source.getBuildingContext() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user