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
Invalid cast time part of Timestamp dbType, when trying to load Resultset via CDataCacheDBAdapter.loadData
For example: table: tmp_table
id | modify_date (timestamp) 1 | 2012-12-22 19:13:10
query: select id, modify_date from tmp_table
code: CDataCacheContainer ds = CDataCacheDBAdapter.loadData(resultSet, null, null, new HashMap()); CDataRowSet rowSet = ds.getAll(); while(rowSet.next()){ timeStamp = rowSet.getTimestamp("modify_date"); //<--- }
expected result: timeStamp contains date and time parts. like: "2012-12-22 19:13:10"
actual result: timeStamp contains only date part. like: "2012-12-22 00:00:00"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Invalid cast time part of Timestamp dbType, when trying to load Resultset via CDataCacheDBAdapter.loadData
For example:
table: tmp_table
id | modify_date (timestamp)
1 | 2012-12-22 19:13:10
query:
select id, modify_date from tmp_table
code:
CDataCacheContainer ds = CDataCacheDBAdapter.loadData(resultSet, null, null, new HashMap());
CDataRowSet rowSet = ds.getAll();
while(rowSet.next()){
timeStamp = rowSet.getTimestamp("modify_date"); //<---
}
expected result:
timeStamp contains date and time parts. like: "2012-12-22 19:13:10"
actual result:
timeStamp contains only date part. like: "2012-12-22 00:00:00"
The text was updated successfully, but these errors were encountered: