Comment by [email protected]:
I created an EntityManagerProvider<EntityManager> to create an
EntityManager on demand for my application. Now I would like to write some
tests and I`m planing to define a test database. But my
EntityManagerProvider<EntityManager> generates an EntityManager that uses
my dev base, not the test one. How can I use an EntityManagerProvider to
inject my test database during the tests?
For more information:
http://code.google.com/p/google-guice/wiki/InjectingProviders
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.