CDI-Unit - EntityManager - PersistenceUnit

17 views
Skip to first unread message

Hilton Wichwski Silva

unread,
Oct 3, 2018, 3:05:17 PM10/3/18
to CDI-Unit
Hello!

How can I use persistence.xml, with CDI-Unit?

I put it in the test/resources/META-INF, but I always get the error,:

Caused by: javax.persistence.PersistenceException: No Persistence provider for EntityManager named XDefaultPU

Thank you.
Reply all
Reply to author
Forward
0 new messages