文件名称:src
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 9kb
- 下载次数:
- 0次
- 提 供 者:
- 陈**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
使用annotation封装的jdbc,只要定义个借口,然后再某个方法上加个annotation,就可以操作数据库了,如:
@Query("select * from user where id=?")
public User getUser(int id)
不用实现具体方法,就可以用了。-The use of annotation package jdbc, as long as the definition of excuse, and then add a method of annotation, to operate a database, such as: @ Query ( select* from user where id =? ) Public User getUser (int id ) do not achieve the specific methods can be used.
@Query("select * from user where id=?")
public User getUser(int id)
不用实现具体方法,就可以用了。-The use of annotation package jdbc, as long as the definition of excuse, and then add a method of annotation, to operate a database, such as: @ Query ( select* from user where id =? ) Public User getUser (int id ) do not achieve the specific methods can be used.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src
...\cn
...\..\cja
...\..\...\dao
...\..\...\...\AnnoDAOFactory.java
...\..\...\...\BaseAnnotationController.java
...\..\...\...\DAOMethodInterceptor.java
...\..\...\...\IConnectionProvider.java
...\..\...\...\IORMapper.java
...\..\...\...\QueryController.java
...\..\...\...\SimpleNameMapper.java
...\..\...\...\UpdateController.java
...\..\...\sql
...\..\...\...\Query.java
...\..\...\...\SubQuery.java
...\..\...\...\Update.java
...\example
...\.......\ConnectionManager.java
...\.......\db
...\.......\..\dao
...\.......\..\...\SubjectDAO.java
...\.......\..\entity
...\.......\..\......\Comment.java
...\.......\..\......\Subject.java
...\.......\subject.sql
...\.......\SubjectMapper.java
...\.......\test.java
...\cn
...\..\cja
...\..\...\dao
...\..\...\...\AnnoDAOFactory.java
...\..\...\...\BaseAnnotationController.java
...\..\...\...\DAOMethodInterceptor.java
...\..\...\...\IConnectionProvider.java
...\..\...\...\IORMapper.java
...\..\...\...\QueryController.java
...\..\...\...\SimpleNameMapper.java
...\..\...\...\UpdateController.java
...\..\...\sql
...\..\...\...\Query.java
...\..\...\...\SubQuery.java
...\..\...\...\Update.java
...\example
...\.......\ConnectionManager.java
...\.......\db
...\.......\..\dao
...\.......\..\...\SubjectDAO.java
...\.......\..\entity
...\.......\..\......\Comment.java
...\.......\..\......\Subject.java
...\.......\subject.sql
...\.......\SubjectMapper.java
...\.......\test.java