Status: New
Owner: ----

New issue 706 by [email protected]: Enhance guice-persist to allow external data sources
http://code.google.com/p/google-guice/issues/detail?id=706

I believe EntityManagerFactory expects a Map in its #createEntityManager call, on which you could provide an external java.sql.DataSource instance.

I would like to, within guice, @provide a DataSource, and on the same module, setup JpaPersistModule with this DataSource.

An enhancement: change java.util.Properties for the actually expected java.util.Map

An issue: how to provide a DataSource, and then inject it to a Map, and then inject it to the actual JpaPersistModule?

--
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.

Reply via email to