/** * INTERNAL: * Return the transaction status. This may be any type of status or value, * depending upon the transaction system. */ public Object getTransactionStatus() { try { return getTransactionStatus_impl(); } catch (Exception exception) { throw TransactionException.errorGettingExternalTransactionStatus(exception); } }
/** * INTERNAL: * Return the transaction status. This may be any type of status or value, * depending upon the transaction system. */ public Object getTransactionStatus() { try { return getTransactionStatus_impl(); } catch (Exception exception) { throw TransactionException.errorGettingExternalTransactionStatus(exception); } }
/** * INTERNAL: * Return the transaction status. This may be any type of status or value, * depending upon the transaction system. */ public Object getTransactionStatus() { try { return getTransactionStatus_impl(); } catch (Exception exception) { throw TransactionException.errorGettingExternalTransactionStatus(exception); } }
/** * INTERNAL: * Used the EJB 3.0 to determine if a transaction is in a state where an EntityManager can * be closed */ public boolean noTransactionOrRolledBackOrCommited() { try { Object status = getTransactionStatus(); return canBeginTransaction_impl(status) || canMergeUnitOfWork_impl(status) || isRolledBack_impl(status); } catch (Exception exception) { throw TransactionException.errorGettingExternalTransactionStatus(exception); } }
/** * INTERNAL: * Used the EJB 3.0 to determine if a transaction is in a state where an EntityManager can * be closed */ public boolean noTransactionOrRolledBackOrCommited() { try { Object status = getTransactionStatus(); return canBeginTransaction_impl(status) || canMergeUnitOfWork_impl(status) || isRolledBack_impl(status); } catch (Exception exception) { throw TransactionException.errorGettingExternalTransactionStatus(exception); } }
/** * INTERNAL: * Used the EJB 3.0 to determine if a transaction is in a state where an EntityManager can * be closed */ public boolean noTransactionOrRolledBackOrCommited() { try { Object status = getTransactionStatus(); return canBeginTransaction_impl(status) || canMergeUnitOfWork_impl(status) || isRolledBack_impl(status); } catch (Exception exception) { throw TransactionException.errorGettingExternalTransactionStatus(exception); } }