简体   繁体   English

是否有一个集成Spring-MVC和Spring-Data-JPA的示例Web项目?

[英]Is there a sample web project of integrating Spring-MVC and Spring-Data-JPA?

I see a lots of examples of spring-data-jpa, but not a web project using spring-mvc, currently I try to use spring-data-jpa in my project, but failed, please see my post here. 我看到了很多spring-data-jpa的示例,但是没有一个使用spring-mvc的Web项目,目前我尝试在我的项目中使用spring-data-jpa,但是失败了,请在这里查看我的帖子 And I didn't find a solution to resolve my issue. 而且我没有找到解决问题的解决方案。 Can anyone provide me a skeleton project,so I can start over it. 谁能给我一个基础项目,以便我可以重新开始。 Or can you provide me some suggestion like is there a special thing to use spring-data-jpa, configuration? 或者您可以给我一些建议,例如使用spring-data-jpa配置有什么特别的东西吗? Version of spring? 春天的版本? The tutorial of spring data jpa sounds easy and handy, but not as same as my scenario. spring data jpa的教程听起来很方便,但与我的情况不一样。 I appreciate your feedback. 感谢您的反馈。

Afternoon, wrote up a small example for this located at: 下午,在以下位置为此写了一个小示例:

https://github.com/donkeystalk/d3 https://github.com/donkeystalk/d3

Hope this helps you out! 希望这可以帮助你! Know I tried to help you on your previous question, and thought a full blown example was in order! 知道我曾尝试为您解决上一个问题,并认为有一个完整的例子是正确的!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM