Java 8 fix
This commit is contained in:
parent
9c687202fc
commit
052872de87
@ -421,10 +421,12 @@ public class DefaultRecordMapper<R extends Record, E> implements RecordMapper<R,
|
||||
throw new MappingException("No matching constructor found on type " + type + " for row type " + rowType);
|
||||
}
|
||||
|
||||
|
||||
private List<String> collectParameterNames(Parameter[] parameters) {
|
||||
return Arrays.stream(parameters).map(Parameter::getName).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public final E map(R record) {
|
||||
if (record == null) {
|
||||
|
||||
@ -1314,6 +1314,8 @@ final class DiagnosticsResultSet extends DefaultResultSet {
|
||||
super.updateNClob(columnLabel, reader);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException {
|
||||
checkPrimitive();
|
||||
@ -1337,4 +1339,6 @@ final class DiagnosticsResultSet extends DefaultResultSet {
|
||||
checkPrimitive();
|
||||
super.updateObject(columnLabel, x, targetSqlType);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user