/** * This is the JTA compliant version of the method. However, you had better * know that your XAResource and family are truly compliant implementations. * If they aren't then we may fail gracefully (e.g., some versions of Oracle * don't work with arbitrary Xid implementations!) * * If the family isn't compliant, then you should use the other method and * pass through a relevant XAModifier, which should address the issues we * have already come across. */publicboolean enlistResource(XAResource xaRes) throws RollbackException,
IllegalStateException, javax.transaction.SystemException
{
returnenlistResource(xaRes, null);
}