设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

fastquery-v.1.0-alpha预览版本

2016-5-15 17:31| 发布者: joejoe0332| 查看: 392| 评论: 0|原作者: oschina|来自: oschina

摘要: FastQuery,简化Java访问数据库查询。做为一个开发者,仅仅只需要设计DAO接口即可。优雅而高速。?12345678910publicinterfaceStudentDBServiceextendsQueryRepository{@Query("select*fromstudent")JSONArrayfindAll ...

FastQuery,简化Java访问数据库查询。做为一个开发者,仅仅只需要设计DAO接口即可。优雅而高速。

1
2
3
4
5
6
7
8
9
10
public interface StudentDBService extends QueryRepository {
  @Query("select * from student")
  JSONArray findAll();
}
 
 
// get porxy impl
StudentDBService studentDBService=FQuery.getRepository(StudentDBService.class);
// call findAll
JSONArray jsonArray = studentDBService.findAll();

详情: http://git.oschina.net/xixifeng.com/fastquery


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部