code: public static boolean defaultTransactionSupported(final String persistenceUnit,
              final KunderaMetadata kunderaMetadata)
      {
          PersistenceUnitMetadata puMetadata = KunderaMetadataManager.getPersistenceUnitMetadata(kunderaMetadata,
                  persistenceUnit);
  
          String txResource = puMetadata.getProperty(PersistenceProperties.KUNDERA_TRANSACTION_RESOURCE);
  
          if (txResource == null)
          {
              return true;
          }
          else if (txResource.isEmpty())
          {
              throw new IllegalArgumentException("Property " + PersistenceProperties.KUNDERA_TRANSACTION_RESOURCE
                      + " is blank");
          }
          else
          {
              return false;
          }
      }
docs: If client specific to parameterized persistence unit does not support
  transaction, return true else will return false.
  
  @param persistenceUnit
  @return