From 60aa720777975b3a332a42a8de4a26cc6a22a1b8 Mon Sep 17 00:00:00 2001
From: rob bygrave
* Provides support for batching and TransactionContext.
- *
* This is to handle bi-directional relationships where both sides Cascade.
- *
* This will register the bean if it is not already.
- *
* Returning 0 implies to use the system wide default batch size.
- *
* Returning 0 implies to use the system wide default batch size.
- *
* The depth is used for ordering batching statements. The lowest depth get * executed first during save. - *
*/ void depth(int diff); @@ -166,7 +159,6 @@ public interface SpiTransaction extends Transaction { * This information is used maintain the table state, cache and text * indexes. On commit the Table modifications this generates is broadcast * around the cluster (if you have a cluster). - * */ TransactionEvent getEvent(); @@ -198,7 +190,6 @@ public interface SpiTransaction extends Transaction { * You may wish to hold onto this and set it against another transaction * later. This is along the lines of 'extended persistence context' * behaviour. - * */ PersistenceContext getPersistenceContext(); @@ -211,7 +202,6 @@ public interface SpiTransaction extends Transaction { * is one PersistenceContext per Transaction. The getPersistenceContext() * and setPersistenceContext() enable a developer to reuse a single * PersistenceContext with multiple transactions. - * */ void setPersistenceContext(PersistenceContext context); @@ -221,7 +211,6 @@ public interface SpiTransaction extends Transaction { * If the connection is made from Transaction and the user code calls * that method we can no longer trust the query only status of a * Transaction. - * */ Connection getInternalConnection();