Skip to content

Commit 5fb0996

Browse files
author
zhangrongfan
committed
Try to fix
1 parent acd7507 commit 5fb0996

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mybatis-boost-core/src/main/java/cn/mybatisboost/json/JsonTypeHandler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ public void setNonNullParameter(PreparedStatement ps, int i, Property<?> paramet
2929

3030
@Override
3131
public Property<?> getNullableResult(ResultSet rs, String columnName) throws SQLException {
32-
return Property.ofNullable(rs.getString(columnName));
32+
return Property.of(rs.getString(columnName));
3333
}
3434

3535
@Override
3636
public Property<?> getNullableResult(ResultSet rs, int columnIndex) throws SQLException {
37-
return Property.ofNullable(rs.getString(columnIndex));
37+
return Property.of(rs.getString(columnIndex));
3838
}
3939

4040
@Override
4141
public Property<?> getNullableResult(CallableStatement cs, int columnIndex) throws SQLException {
42-
return Property.ofNullable(cs.getString(columnIndex));
42+
return Property.of(cs.getString(columnIndex));
4343
}
4444
}

0 commit comments

Comments
 (0)