OK,
I finally figured out what you were saying....
I reconfigured my em/emf producers.
@Produces
@ApplicationScoped
public EntityManagerFactory createEntityManagerFactory() {
System.out.println("Producing EMF......");
return Persistence.createEntityManagerFactory("ValidationPU");
}
@Produces
public EntityManager createEntityManager(EntityManagerFactory
entityManagerFactory) {
System.out.println("Producing entitymanager.....");
return entityManagerFactory.createEntityManager();
}
And now I belive its JTA, right?
at least now the validation is throwing and QueryInvocationException which I
belive is correct.
br hw
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/deltaspike-fullstack-example-tp4672086p4672098.html
Sent from the TomEE Users mailing list archive at Nabble.com.