tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwaastad <>
Subject Re: deltaspike fullstack example
Date Fri, 03 Oct 2014 05:30:15 GMT
I finally figured out what you were saying....

I reconfigured my em/emf producers.

    public EntityManagerFactory createEntityManagerFactory() {
        System.out.println("Producing EMF......");
        return Persistence.createEntityManagerFactory("ValidationPU");

    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:
Sent from the TomEE Users mailing list archive at

View raw message