throw new RuntimeException("Specification violation [EJB3 JPA 6.2.1.2] - " + "You have not defined a jta-data-source for a JTA enabled persistence context named: " + pumd.getPersistenceUnitName()); properties.setProperty(Environment.CACHE_REGION_PREFIX, "persistence.unit:unitName=#" + pumd.getPersistenceUnitName()); properties.setProperty(Environment.SESSION_FACTORY_NAME, "persistence.unit:unitName=#" + pumd.getPersistenceUnitName());
throw new RuntimeException("Specification violation [EJB3 JPA 6.2.1.2] - " + "You have not defined a jta-data-source for a JTA enabled persistence context named: " + pumd.getPersistenceUnitName()); properties.setProperty(Environment.CACHE_REGION_PREFIX, "persistence.unit:unitName=#" + pumd.getPersistenceUnitName()); properties.setProperty(Environment.SESSION_FACTORY_NAME, "persistence.unit:unitName=#" + pumd.getPersistenceUnitName());