public void setAutoCommit(boolean autoCommit) {
public void setAutoCommit(boolean autoCommit) throws SQLException { if (this.autoCommit != autoCommit && inTransaction()) try { getLocalTransaction().commit(); } catch(javax.resource.ResourceException resex) { throw new SQLException(resex.toString()); }
    public void setAutoCommit(boolean autoCommit) {        this.autoCommit = autoCommit;    }