DatabaseMetaData result sets are closed if a user performs
any other action on a JDBC object that causes an automatic commit to
occur. If you need the DatabaseMetaData result sets to be accessible
while executing other actions that would cause automatic commits, turn off
auto-commit with setAutoCommit(false).