//returns rows. For such an activation, we need to take special
//actions during commit and rollback as explained in the comments
//below.
ResultSet activationResultSet = a.getResultSet();
boolean resultsetReturnsRows =
(activationResultSet != null) && activationResultSet.returnsRows(); ;
if (forRollback) {
if (resultsetReturnsRows)
//Since we are dealing with rollback, we need to reset
//the activation no matter what the holdability might