[jOOQ/jOOQ#17574] MockResultSetMetaData::getColumnClassName returns user

type instead of database type if MockResult uses converted data types
This commit is contained in:
Lukas Eder 2024-11-07 12:23:29 +01:00
parent 2c422eca8d
commit 062df4ea1e

View File

@ -265,6 +265,6 @@ public class MockResultSetMetaData implements ResultSetMetaData, Serializable {
public String getColumnClassName(int column) throws SQLException {
rs.checkNotClosed();
return rs.result.field(column - 1).getType().getName();
return rs.result.field(column - 1).getDataType().getFromType().getName();
}
}