会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
默默爬坑中
博客园
首页
新随笔
联系
管理
订阅
2015年12月9日
JPA(7) spring-data-jpa
摘要: 对于不是使用spring管理的项目,我们就自己创建对象使用:大概的思路就是①创建dao接口②实现该接口,并且编写逻辑:Dao:public interface StudentDao {public List findAll();}因为是测试,所以我们就只定义了一个查询所有记录的方法,下面是实现:pu...
阅读全文
posted @ 2015-12-09 20:32 Hotsum
阅读(756)
评论(0)
推荐(0)
编辑