code: @Override
      public PersistenceUnitTransactionType getTransactionType() {
          if (persistenceUnitXml.getTransactionType() ==
                  org.wisdom.framework.jpa.model.PersistenceUnitTransactionType
                          .RESOURCE_LOCAL) {
              return PersistenceUnitTransactionType.RESOURCE_LOCAL;
          } else {
              return PersistenceUnitTransactionType.JTA;
          }
      }
docs: /*
  @see javax.persistence.spi.PersistenceUnitInfo#getTransactionType()