HHH-9947 - PhysicalNamingStrategy#toPhysicalTableName called rather than #toPhysicalColumnName for some columns
This commit is contained in:
parent
837e9913c1
commit
d7b1afeed7
|
@ -905,7 +905,7 @@ public class Ejb3JoinColumn extends Ejb3Column {
|
|||
if ( StringHelper.isNotEmpty( columnName ) ) {
|
||||
if ( applyNamingStrategy ) {
|
||||
getMappingColumn().setName(
|
||||
getBuildingContext().getBuildingOptions().getPhysicalNamingStrategy().toPhysicalTableName(
|
||||
getBuildingContext().getBuildingOptions().getPhysicalNamingStrategy().toPhysicalColumnName(
|
||||
getBuildingContext().getMetadataCollector().getDatabase().toIdentifier( columnName ),
|
||||
getBuildingContext().getMetadataCollector().getDatabase().getJdbcEnvironment()
|
||||
).render()
|
||||
|
|
Loading…
Reference in New Issue