code: public static Transaction getTransactionAndMarkForJoin(Session session, ServiceManager serviceManager) throws ClassNotFoundException,
  			NoSuchMethodException, IllegalAccessException, InvocationTargetException {
  		Transaction transaction = session.getTransaction();
  		doMarkforJoined( serviceManager, transaction );
  		return transaction;
  	}
docs: if the transaction object is a JoinableCMTTransaction, call markForJoined()
  This must be done prior to starting the transaction
  @param serviceManager