[hotfix][oceanbase] Fix the default string encoding(#1294)

This closes #1294.
pull/1306/head
He Wang 3 years ago committed by GitHub
parent 5ee2233e34
commit 841376404c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -134,7 +134,7 @@ public class OceanBaseJdbcConverter {
case Types.BINARY:
return ByteBuffer.wrap(value.toString().getBytes(StandardCharsets.UTF_8));
default:
return value.toString();
return value.toString(StandardCharsets.UTF_8.toString());
}
}

Loading…
Cancel
Save