Google Guice persistence + Spring Data JPA

与世无争的帅哥 提交于 2019-12-10 20:15:57

问题


I want to use Spring Data JPA in my web application build with Google Guice.

And I found out that Google Guice provide the Guice Persist and say "JPA (Java Persistence API) - with any compliant vendor implementation.".

Google Guice Persist - https://github.com/google/guice/wiki/GuicePersist

Is it possible to use Spring Data JPA into Google Guice ?


回答1:


I believe guice repository does what you want. It makes Spring Data JPA easy to use with Google Guice.



来源:https://stackoverflow.com/questions/22394252/google-guice-persistence-spring-data-jpa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!