文件名称:src
介绍说明--下载内容均来自于网络,请自行研究使用
JDBC数据库通用DAO包括DAO、连接池、事务控制。
连接池用的是 BoneCP。
BoneCP运行时需要slf4j和guava的支持。
当然也可以随意换成其他的连接池。
dao的vo是用结果转换器控制的,需要继承ResultConverter。
这招是和spring的jdbcTemplete学的
日志组件用的是slf4j,需要的可自行更换其他日志组件。-Universal JDBC database including DAO DAO, connection pooling, transaction control.
Connection pool using BoneCP.
BoneCP runtime support needs slf4j and guava.
Of course, can also optionally be replaced with other connection pool.
The result is vo dao converter control, the need to inherit ResultConverter.
This trick is to learn and spring of jdbcTemplete
Logging component using slf4j, need additional log replaceable components.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
src
...\org
...\...\dave
...\...\....\common
...\...\....\......\BaseService.java
...\...\....\......\data
...\...\....\......\....\Pager.java
...\...\....\......\database
...\...\....\......\........\access
...\...\....\......\........\......\DataAccess.java
...\...\....\......\........\......\DataAccessException.java
...\...\....\......\........\convert
...\...\....\......\........\.......\IntegerConverter.java
...\...\....\......\........\.......\LongConverter.java
...\...\....\......\........\.......\ResultConverter.java
...\...\....\......\........\DatabaseConnectionPool.java
...\...\....\......\........\DatabaseException.java
...\...\....\......\........\DatabaseTransaction.java
...\...\....\......\........\DataModel.java
...\...\....\......\lang
...\...\....\......\....\CalendarTools.java
...\...\....\......\....\StringTools.java
...\...\....\......\text
...\...\....\......\....\DateFormatTools.java
...\...\....\......\....\NumberFormatTools.java
...\...\....\demo
...\...\....\....\action
...\...\....\....\......\DemoAction.java
...\...\....\....\convert
...\...\....\....\.......\DemoConverter.java
...\...\....\....\dao
...\...\....\....\...\DemoDao.java
...\...\....\....\model
...\...\....\....\.....\Demo.java
...\...\....\....\service
...\...\....\....\.......\DemoService.java