dain 2004/04/11 10:00:05
Modified: modules/transaction/src/java/org/apache/geronimo/transaction
TransactionContext.java
Log:
Flush the InTxCache when flushState is called
Revision Changes Path
1.6 +4 -1
incubator-geronimo/modules/transaction/src/java/org/apache/geronimo/transaction/TransactionContext.java
Index: TransactionContext.java
===================================================================
RCS file:
/home/cvs/incubator-geronimo/modules/transaction/src/java/org/apache/geronimo/transaction/TransactionContext.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TransactionContext.java 22 Mar 2004 00:30:19 -0000 1.5
+++ TransactionContext.java 11 Apr 2004 17:00:05 -0000 1.6
@@ -105,6 +105,9 @@
if (currentContext != null && currentContext.getId() != null) {
dirtyContexts.put(currentContext.getContainerId(),
currentContext.getId(), currentContext);
}
+ if(inTxCache != null) {
+ inTxCache.flush();
+ }
}
protected void beforeCommit() throws Exception {