while (resultSet != null && resultSet.next()){
//do
//Like above, even if there is no record will be entered here
}
I use the following:
int record = resultSet.getMetaData().getColumnCount();
Query to record number, but record is equal to zero.
And,whether to support the JDBC cursor paging?
Hi: Using elasticsearch-sql JDBC support, I met a problem.
How to judge the resultSet record number is empty
I use the following:
int record = resultSet.getMetaData().getColumnCount();
Query to record number, but record is equal to zero. And,whether to support the JDBC cursor paging?For example:
Regards.