HHH-11205 - Fixed nationalization support when field type is char.
(cherry picked from commit 468ed1b609
)
This commit is contained in:
parent
889dc0c1be
commit
79c6c1652c
|
@ -283,7 +283,8 @@ public class SimpleValueBinder {
|
|||
type = StringNVarcharType.INSTANCE.getName();
|
||||
explicitType = type;
|
||||
}
|
||||
else if ( buildingContext.getBuildingOptions().getReflectionManager().equals( returnedClassOrElement, Character.class ) ) {
|
||||
else if ( buildingContext.getBuildingOptions().getReflectionManager().equals( returnedClassOrElement, Character.class ) ||
|
||||
buildingContext.getBuildingOptions().getReflectionManager().equals( returnedClassOrElement, char.class ) ) {
|
||||
if ( isArray ) {
|
||||
// nvarchar
|
||||
type = StringNVarcharType.INSTANCE.getName();
|
||||
|
|
Loading…
Reference in New Issue