809810811812813814815816817
public void setIgnoreCache(boolean b) { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("setIgnoreCache(boolean)")); } m_ignoreCache = b; }
818819820821822823824825826
public boolean getIgnoreCache() { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("getIgnoreCache()")); } return m_ignoreCache; }
99100101102103104105106107108
*/ public void close() { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("close()")); } if (m_tx.isActive()) m_tx.rollback(); m_conn.close(); }
119120121122123124125126127128129
*/ public void evict(Object o) { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("evict(Object)")); } if (null != o) { try {
170171172173174175176177178179180
public void evictAll(Object[] objects) { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("evictAll(Object[])")); } if (null == objects) { throw new NullPointerException("evictAll(Object[]) was passed a null Array."); }
187188189190191192193194195196197
public void evictAll(Collection collection) { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("evictAll(Collection)")); } if (null == collection) { throw new NullPointerException("evictAll(Collection) was passed a null Collection."); }
204205206207208209210211212213214
public void evictAll() { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("evictAll()")); } EditingContext ctx = m_conn.getEditingContext(); if (ctx != null) { for (Iterator i = ctx.getAllObjectsInContext().iterator(); i.hasNext();)
224225226227228229230231232233234
public void refresh(Object o) { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("refresh(Object)")); } m_conn.refresh(o); if (o instanceof InstanceCallbacks) { ((InstanceCallbacks) o).jdoPostLoad();
237238239240241242243244245246247
public void refreshAll(Object[] objects) { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("refreshAll(Object[])")); } if (null == objects) { throw new NullPointerException("refreshAll(Object[]) was passed a null Array."); }
254255256257258259260261262263264
public void refreshAll(Collection collection) { if (isClosed()) { throw new JDOFatalUserException(generateIsClosedErrorMessage("refreshAll(Collection)")); } if (null == collection) { throw new NullPointerException("refreshAll(Collection) was passed a null Collection."); }