User: mulder
Date: 00/10/19 13:01:21
Modified: src/main/org/jboss/minerva/xa XADataSourceImpl.java
Log:
- Errors in the XA wrapper after the user called close (i.e. during
ejbStore at transaction end) will now propogate and cause the
connection to be dropped if the pool is configured for it.
- If a connection is dropped due to an error, and the pool falls
below the minimum size, a new instance will be created to compensate.
- Oracle DB mapping changed to "Oracle 7". A new "Oracle 8" mapping is
forthcoming. With Oracle 7, you can only have one serialized Java
object per table.
- Pool minimum size cannot be greater than maximum size (unless max is
0 = unlimited).
- Result set wrapper now propogates errors appropriately.
Revision Changes Path
1.3 +2 -1 jboss/src/main/org/jboss/minerva/xa/XADataSourceImpl.java
Index: XADataSourceImpl.java
===================================================================
RCS file:
/products/cvs/ejboss/jboss/src/main/org/jboss/minerva/xa/XADataSourceImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XADataSourceImpl.java 2000/06/07 23:04:14 1.2
+++ XADataSourceImpl.java 2000/10/19 20:01:21 1.3
@@ -18,7 +18,7 @@
* XAResource are responsible for closing the connection when appropriate.
* Note that the underlying driver may perform pooling, but need not. This
* class does not add any pooling capabilities.
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @author Aaron Mulder ([EMAIL PROTECTED])
*/
public class XADataSourceImpl implements XADataSource {
@@ -129,6 +129,7 @@
} catch(SQLException e) {
if(logWriter != null)
logWriter.println("XADataSource unable to disable auto-commit on
"+con.getClass().getName());
+e.printStackTrace();
}
XAResourceImpl res = new XAResourceImpl(con);