|
Table and pk names are returned always in unquoted form at BinderHelper.makeIdGenerator although there is a quoted version available. I guess this practise is chosen because there is no dialect available at that point.
SimpleValue.createIdentifierGenerator in turn makes use of dialect but overrides these correct values with the non-quoted ones with what it got from previous phase.
IncrementGenerator for instance is not configured as expected when using quoted annotation values.
I worked around the issue by using 'hibernate.globally_quoted_identifiers', but I think that by using properties that come from BinderHelper just as default values would fix this issue in backwards compatible manner.
|