文件名称:src
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:9.34kb
-
已下载: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
src/cn/cja/dao/BaseAnnotationController.java
src/cn/cja/dao/DAOMethodInterceptor.java
src/cn/cja/dao/IConnectionProvider.java
src/cn/cja/dao/IORMapper.java
src/cn/cja/dao/QueryController.java
src/cn/cja/dao/SimpleNameMapper.java
src/cn/cja/dao/UpdateController.java
src/cn/cja/sql/Query.java
src/cn/cja/sql/SubQuery.java
src/cn/cja/sql/Update.java
src/example/ConnectionManager.java
src/example/db/dao/SubjectDAO.java
src/example/db/entity/Comment.java
src/example/db/entity/Subject.java
src/example/subject.sql
src/example/SubjectMapper.java
src/example/test.java
src/cn/cja/dao
src/cn/cja/sql
src/example/db/dao
src/example/db/entity
src/cn/cja
src/example/db
src/cn
src/example
src
src/cn/cja/dao/BaseAnnotationController.java
src/cn/cja/dao/DAOMethodInterceptor.java
src/cn/cja/dao/IConnectionProvider.java
src/cn/cja/dao/IORMapper.java
src/cn/cja/dao/QueryController.java
src/cn/cja/dao/SimpleNameMapper.java
src/cn/cja/dao/UpdateController.java
src/cn/cja/sql/Query.java
src/cn/cja/sql/SubQuery.java
src/cn/cja/sql/Update.java
src/example/ConnectionManager.java
src/example/db/dao/SubjectDAO.java
src/example/db/entity/Comment.java
src/example/db/entity/Subject.java
src/example/subject.sql
src/example/SubjectMapper.java
src/example/test.java
src/cn/cja/dao
src/cn/cja/sql
src/example/db/dao
src/example/db/entity
src/cn/cja
src/example/db
src/cn
src/example
src
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.