IsolatedWork. Processing comes in two flavors:doIsolatedWork : makes sure the work to be done is
performed in a seperate, distinct transactiondoNonTransactedWork : makes sure the work to be
done is performed outside the scope of any transaction| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| public static class | Isolater.JdbcDelegate
An isolation delegate for JDBC-based transactions. |
| public static class | Isolater.JtaDelegate
An isolation delegate for JTA-based transactions. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | doIsolatedWork(IsolatedWork
The work to be performed. work, SessionImplementor The session from which this request is originating. session)Ensures that all processing actually performed by the given work will occur on a seperate transaction. |
| public static void | doNonTransactedWork(IsolatedWork
The work to be performed. work, SessionImplementor The session from which this request is originating. session)Ensures that all processing actually performed by the given work will occur outside of a transaction. |
| log | back to summary |
|---|---|
| private static final Logger log | |
| Isolater | back to summary |
|---|---|
| public Isolater() | |
| doIsolatedWork | back to summary |
|---|---|
| public static void doIsolatedWork(IsolatedWork work, SessionImplementor session) throws HibernateException Ensures that all processing actually performed by the given work will occur on a seperate transaction.
| |
| doNonTransactedWork | back to summary |
|---|---|
| public static void doNonTransactedWork(IsolatedWork work, SessionImplementor session) throws HibernateException Ensures that all processing actually performed by the given work will occur outside of a transaction.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| delegateWork | back to summary |
|---|---|
| public void delegateWork(IsolatedWork work, boolean transacted) throws HibernateException | |
| Modifier and Type | Field and Description |
|---|---|
| private final SessionImplementor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | delegateWork(IsolatedWork work, boolean transacted)
Implements org. |
| private SQLExceptionConverter |
| session | back to summary |
|---|---|
| private final SessionImplementor session | |
| JdbcDelegate | back to summary |
|---|---|
| public JdbcDelegate(SessionImplementor session) | |
| delegateWork | back to summary |
|---|---|
| public void delegateWork(IsolatedWork work, boolean transacted) throws HibernateException Implements org. | |
| sqlExceptionConverter | back to summary |
|---|---|
| private SQLExceptionConverter sqlExceptionConverter() | |
| Modifier and Type | Field and Description |
|---|---|
| private final SessionImplementor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | delegateWork(IsolatedWork work, boolean transacted)
Implements org. |
| private void | |
| private void | |
| private void | |
| private SQLExceptionConverter |
| session | back to summary |
|---|---|
| private final SessionImplementor session | |
| JtaDelegate | back to summary |
|---|---|
| public JtaDelegate(SessionImplementor session) | |
| delegateWork | back to summary |
|---|---|
| public void delegateWork(IsolatedWork work, boolean transacted) throws HibernateException Implements org. | |
| doTheWork | back to summary |
|---|---|
| private void doTheWork(IsolatedWork work) | |
| doTheWorkInNewTransaction | back to summary |
|---|---|
| private void doTheWorkInNewTransaction(IsolatedWork work, TransactionManager transactionManager) | |
| doTheWorkInNoTransaction | back to summary |
|---|---|
| private void doTheWorkInNoTransaction(IsolatedWork work) | |
| sqlExceptionConverter | back to summary |
|---|---|
| private SQLExceptionConverter sqlExceptionConverter() | |