[jOOQ/jOOQ#17574] MockResultSetMetaData::getColumnClassName returns user
type instead of database type if MockResult uses converted data types
This commit is contained in:
parent
2c422eca8d
commit
062df4ea1e
@ -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();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user