文件名称:Dbutils-demo
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2016-07-22
- 文件大小:
- 760kb
- 下载次数:
- 0次
- 提 供 者:
- KE***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1 对于数据表的读操作 他可以把结果转换成List Array Set等java集合 便于程序员操作;
2 对于数据表的写操作 也变得很简单(只需写sql语句)
3 可以使用数据源 使用JNDI 数据库连接池等技术来优化性能 重用已经构建好的数据库连接对象 而不像php asp那样 费时费力的不断重复的构建和析构这样的对象
DBUtils包括3个包:
org apache commons dbutils
org apache commons dbutils handlers
org apache commons dbutils wrappers
DBUtils封装了对JDBC的操作 简化了JDBC操作 可以少写代码
org apache commons dbutils
DbUtils 关闭链接等操作-1 For a read operation data table, he can convert the result into List Array Set and other easy to set java programmer operation 2 For writes data table has become very simple (just write sql statement) 3 can use a data source using JNDI connection pool technology to optimize the performance of reuse connection objects have been constructed rather than php asp as laborious repeated such objects DBUtils construction and destructor includes three packages: org apache commons dbutils org apache commons dbutils handlers org apache commons dbutils wrappers DBUtils encapsulates JDBC operation simplifies JDBC operations can write less code that org apache commons dbutils DbUtils close links and other operations
2 对于数据表的写操作 也变得很简单(只需写sql语句)
3 可以使用数据源 使用JNDI 数据库连接池等技术来优化性能 重用已经构建好的数据库连接对象 而不像php asp那样 费时费力的不断重复的构建和析构这样的对象
DBUtils包括3个包:
org apache commons dbutils
org apache commons dbutils handlers
org apache commons dbutils wrappers
DBUtils封装了对JDBC的操作 简化了JDBC操作 可以少写代码
org apache commons dbutils
DbUtils 关闭链接等操作-1 For a read operation data table, he can convert the result into List Array Set and other easy to set java programmer operation 2 For writes data table has become very simple (just write sql statement) 3 can use a data source using JNDI connection pool technology to optimize the performance of reuse connection objects have been constructed rather than php asp as laborious repeated such objects DBUtils construction and destructor includes three packages: org apache commons dbutils org apache commons dbutils handlers org apache commons dbutils wrappers DBUtils encapsulates JDBC operation simplifies JDBC operations can write less code that org apache commons dbutils DbUtils close links and other operations
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Dbutils椤圭洰瀹炰緥
...................\FansDbutils
...................\...........\.classpath
...................\...........\.project
...................\...........\.settings
...................\...........\.........\org.eclipse.core.resources.prefs
...................\...........\.........\org.eclipse.jdt.core.prefs
...................\...........\bin
...................\...........\...\cn
...................\...........\...\..\fansunion
...................\...........\...\..\.........\dbutils
...................\...........\...\..\.........\.......\example
...................\...........\...\..\.........\.......\.......\AsyncUpdateExample.class
...................\...........\...\..\.........\.......\.......\BeanHandlerExample.class
...................\...........\...\..\.........\.......\.......\BeanListHandlerExample.class
...................\...........\...\..\.........\.......\.......\common
...................\...........\...\..\.........\.......\.......\......\DbUtilsExampleBase.class
...................\...........\...\..\.........\.......\.......\......\MyDataSource.class
...................\...........\...\..\.........\.......\.......\......\Person.class
...................\...........\...\..\.........\.......\.......\......\person.sql
...................\...........\...\..\.........\.......\.......\connection
...................\...........\...\..\.........\.......\.......\..........\ConnectionProvider.class
...................\...........\...\..\.........\.......\.......\..........\jdbc.properties
...................\...........\...\..\.........\.......\.......\..........\PropertyReader.class
...................\...........\...\..\.........\.......\.......\InsertUpdateExample.class
...................\...........\...\..\.........\.......\.......\ResultSetHandlerExample$RowToArrayResultSetHandler.class
...................\...........\...\..\.........\.......\.......\ResultSetHandlerExample.class
...................\...........\javadoc.xml
...................\...........\lib
...................\...........\...\commons-dbutils-1.4.jar
...................\...........\...\mysql-connector-java-5.1.10-bin.jar
...................\...........\src
...................\...........\...\cn
...................\...........\...\..\fansunion
...................\...........\...\..\.........\dbutils
...................\...........\...\..\.........\.......\example
...................\...........\...\..\.........\.......\.......\AsyncUpdateExample.class
...................\...........\...\..\.........\.......\.......\AsyncUpdateExample.java
...................\...........\...\..\.........\.......\.......\BeanHandlerExample.class
...................\...........\...\..\.........\.......\.......\BeanHandlerExample.java
...................\...........\...\..\.........\.......\.......\BeanListHandlerExample.class
...................\...........\...\..\.........\.......\.......\BeanListHandlerExample.java
...................\...........\...\..\.........\.......\.......\common
...................\...........\...\..\.........\.......\.......\......\DbUtilsExampleBase.java
...................\...........\...\..\.........\.......\.......\......\MyDataSource.java
...................\...........\...\..\.........\.......\.......\......\Person.java
...................\...........\...\..\.........\.......\.......\......\person.sql
...................\...........\...\..\.........\.......\.......\connection
...................\...........\...\..\.........\.......\.......\..........\ConnectionProvider.class
...................\...........\...\..\.........\.......\.......\..........\ConnectionProvider.java
...................\...........\...\..\.........\.......\.......\..........\jdbc.properties
...................\...........\...\..\.........\.......\.......\..........\PropertyReader.class
...................\...........\...\..\.........\.......\.......\..........\PropertyReader.java
...................\...........\...\..\.........\.......\.......\InsertUpdateExample.class
...................\...........\...\..\.........\.......\.......\In