public int getQueryTimeout() throws SQLException {
        return stmt.getQueryTimeout();
    }
Creates a new StatementWrapper that wraps {@code stmt}.

@param stmt The to-be-wrapped statement.
xmppserver/src/main/java/org/jivesoftware/database/StatementWrapper.java