HHH-11205 - Fixed nationalization support when field type is char.
This commit is contained in:
parent
1b8d94ddba
commit
468ed1b609
|
@ -281,7 +281,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