if (fields.isEmpty()) {
fields.addAll(Arrays.asList(document.fieldNames()));
}
return fields;
}
<BUG>private void activateDatabaseOnCurrentThread() {
statement.database.activateOnCurrentThread();</BUG>
}
public void close() throws SQLException {
cursor = 0;

if (fields.isEmpty()) {
fields.addAll(Arrays.asList(document.fieldNames()));
}
return fields;
}
private void activateDatabaseOnCurrentThread() {
if (!statement.database.isActiveOnCurrentThread())
statement.database.activateOnCurrentThread();
}
public void close() throws SQLException {
cursor = 0;
