void ensureInTransaction() throws ResourceException
void ensureInTransaction() throws SQLException
    void ensureInTransaction() throws ResourceException    {        if (inTransaction())        {            autoTransaction = false;            return;        } // end of if ()        //We have to start our own transaction        getLocalTransaction().begin();        autoTransaction = true;    }