对于 spring boot data-jpa 提供的血多方便,但是其中有一个坑,是,必须要把spring boot 跑起来后
在浏览器里面,才能访问数据,之前,我一直是在谢了一个test 类,但是老是出现null,我就怀疑是我的配置没有写好
于是,百度,,但是,又不是 我之前的想法是, springMVC 只是提供 一个视图转向功能,
这个问题2还没有搞清楚,,可能,是spring boot 加载文件的问题
希望后面的小伙伴能找到好的办法
我找到好的spring boot data-jpa
http://www.cnblogs.com/chenpi/p/6357527.html
文章后有github
里面有数据库