We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
定义bean中的ts 为LocalDateTime类型中时 走到了AbstractResultSet类的 public T getObject(String columnLabel, Class type) throws SQLException { return this.getObject(this.findColumn(columnLabel), type); } 方法 然而RestfulResultSet没有这个的实现 copy一个BlockResultSet 的 public T getObject(int columnIndex, Class type) throws SQLException { Object value = this.getObject(columnIndex); if (value == null) { return null; } else if (type.isInstance(value)) { return type.cast(value); } else { 略。。。。 } } 应该就能解决?
The text was updated successfully, but these errors were encountered:
我是映射成Timestamp 然后再转的……
Sorry, something went wrong.
No branches or pull requests
定义bean中的ts 为LocalDateTime类型中时
走到了AbstractResultSet类的
public T getObject(String columnLabel, Class type) throws SQLException {
return this.getObject(this.findColumn(columnLabel), type);
}
方法
然而RestfulResultSet没有这个的实现
copy一个BlockResultSet 的
public T getObject(int columnIndex, Class type) throws SQLException {
Object value = this.getObject(columnIndex);
if (value == null) {
return null;
} else if (type.isInstance(value)) {
return type.cast(value);
} else {
略。。。。
}
}
应该就能解决?
The text was updated successfully, but these errors were encountered: