public Integer getSerial() throws SQLException { Connection c = null;
public Integer getSerial() throws ObjectStoreException {
    public Integer getSerial() throws SQLException {        Connection c = null;        try {            c = getConnection();            return getSerialWithConnection(c);        } finally {            releaseConnection(c);        }    }