i think your issue is simply
the foo.bar.test.producers.EntityManagerFactoryProducer is not created at
all (it is done lazily and since you don't have any method it is not done i
think)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/4/10 Jukkales <[email protected]>

> Yes, its using @PersistenceUnit and it is not excluded. Wen i create a
> get-method with @Produces instead of type it on the field, it will be
> called, but the field annotated with @PersistenceUnit is null every time.
>
>
>
> The structure is:
>
>
> The Datasource is a simple Oracle one, which is linked in persistence.xml
>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Several-problems-while-deploying-tp4662131p4662143.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>

Reply via email to