DBZ-1850 Delegate signed/nonsigned conversion to driver
This commit is contained in:
parent
69e87170e3
commit
0248fdde16
@ -455,7 +455,7 @@ private PostgresType resolveUnknownType(int lookupOid) {
|
|||||||
final SqlTypeMapper sqlTypeMapper = new SqlTypeMapper(connection, typeInfo);
|
final SqlTypeMapper sqlTypeMapper = new SqlTypeMapper(connection, typeInfo);
|
||||||
|
|
||||||
try (final PreparedStatement statement = connection.prepareStatement(SQL_NON_ARRAY_TYPE_OID_LOOKUP)) {
|
try (final PreparedStatement statement = connection.prepareStatement(SQL_NON_ARRAY_TYPE_OID_LOOKUP)) {
|
||||||
statement.setLong(1, lookupOid);
|
statement.setInt(1, lookupOid);
|
||||||
try (final ResultSet rs = statement.executeQuery()) {
|
try (final ResultSet rs = statement.executeQuery()) {
|
||||||
while (rs.next()) {
|
while (rs.next()) {
|
||||||
final int oid = (int) rs.getLong("oid");
|
final int oid = (int) rs.getLong("oid");
|
||||||
|
Loading…
Reference in New Issue
Block a user