System.out.println("START XA HOLDABILITY TEST");
try {
Properties attrs = new Properties();
attrs.setProperty("databaseName", "wombat");
attrs.setProperty("connectionAttributes", "create=true");
XADataSource dscsx = TestUtil.getXADataSource(attrs);
XAConnection xac = dscsx.getXAConnection("fred", "wilma");
XAResource xr = xac.getXAResource();
Xid xid = getXid(25, (byte) 21, (byte) 01);
Connection conn1 = xac.getConnection();
System.out.println("By default, autocommit is " + conn1.getAutoCommit() + " for a connection");
System.out.println("Default holdability for a connection is HOLD_CURSORS_OVER_COMMIT");