public static EISException resourceException(ResourceException resourceException, EISAccessor accessor, AbstractSession session) { return resourceException((Exception)resourceException, accessor, session); }
public static EISException resourceException(ResourceException resourceException, EISAccessor accessor, AbstractSession session) { return resourceException((Exception)resourceException, accessor, session); }
public static EISException resourceException(ResourceException resourceException, Call call, EISAccessor accessor, AbstractSession session) { EISException exception = resourceException(resourceException, accessor, session); exception.setCall(call); return exception; }
public static EISException resourceException(ResourceException resourceException, Call call, EISAccessor accessor, AbstractSession session) { EISException exception = resourceException(resourceException, accessor, session); exception.setCall(call); return exception; }
public static EISException resourceException(ResourceException resourceException, Call call, EISAccessor accessor, AbstractSession session) { EISException exception = resourceException(resourceException, accessor, session); exception.setCall(call); return exception; }
/** * Allow the platform to handle the creation of the DOM record. * By default create a mapped record an assume it implements DOM as well. */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createMappedRecord(recordName); } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
/** * Allow the platform to handle the creation of the DOM record. * By default create a mapped record an assume it implements DOM as well. */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createMappedRecord(recordName); } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
/** * Close the connection. */ @Override protected void closeDatasourceConnection() { try { getCCIConnection().close(); } catch (ResourceException exception) { throw EISException.resourceException(exception, this, null); } }
/** * Allow the platform to handle the creation of the DOM record. * By default create a mapped record an assume it implements DOM as well. */ public Record createDOMRecord(String recordName, EISAccessor accessor) { try { return accessor.getRecordFactory().createMappedRecord(recordName); } catch (ResourceException exception) { throw EISException.resourceException(exception, accessor, null); } }
/** * Close the connection. */ protected void closeDatasourceConnection() { try { getCCIConnection().close(); } catch (ResourceException exception) { throw EISException.resourceException(exception, this, null); } }
/** * Close the connection. */ protected void closeDatasourceConnection() { try { getCCIConnection().close(); } catch (ResourceException exception) { throw EISException.resourceException(exception, this, null); } }
/** * Begin a local transaction. */ protected void basicBeginTransaction(AbstractSession session) throws EISException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().begin(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }
/** * Rollback the local transaction on the datasource. */ public void basicRollbackTransaction(AbstractSession session) throws DatabaseException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().rollback(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }
/** * Rollback the local transaction on the datasource. */ public void basicRollbackTransaction(AbstractSession session) throws DatabaseException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().rollback(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }
/** * Commit the local transaction. */ protected void basicCommitTransaction(AbstractSession session) throws EISException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().commit(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }
/** * Begin a local transaction. */ protected void basicBeginTransaction(AbstractSession session) throws EISException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().begin(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }
/** * Commit the local transaction. */ protected void basicCommitTransaction(AbstractSession session) throws EISException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().commit(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }
/** * Begin a local transaction. */ @Override protected void basicBeginTransaction(AbstractSession session) throws EISException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().begin(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }
/** * Rollback the local transaction on the datasource. */ @Override public void basicRollbackTransaction(AbstractSession session) throws DatabaseException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().rollback(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }
/** * Commit the local transaction. */ @Override protected void basicCommitTransaction(AbstractSession session) throws EISException { try { if (getEISPlatform().supportsLocalTransactions()) { getCCIConnection().getLocalTransaction().commit(); } } catch (ResourceException exception) { throw EISException.resourceException(exception, this, session); } }