Could you please tell me how to create an EntityManager or EntityManagerFactory programaticaly in my test ?
I know how to do it with Spring without XML and how to construct a SessionFactory - but after Ejb3Configuration was deprecated I have no idea how to construct a EntityManager(Factory) without XML in a non-Spring testcase. (also couldn't find anything on the internet nor in the documentation)
|