public synchronized void initSequence() throws ServiceException { Connection conn = null; try { conn = DbPool.getConnection(); mSequence = DbRedologSequence.getSequence(conn); } finally { if (conn != null) DbPool.quietClose(conn); }
public synchronized void initSequence(long seq) { mSequence = seq;
    public synchronized void initSequence() throws ServiceException {        Connection conn = null;        try {            conn = DbPool.getConnection();            mSequence = DbRedologSequence.getSequence(conn);        } finally {            if (conn != null)                DbPool.quietClose(conn);        }            }