首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 一个简单的java DAO框架

一个简单的java DAO框架

  • 资源大小:97.04 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 简单 框架 javadao 一个

资 源 简 介

Hydrogen-dao is a quite simple java DAO framework. The main goal of this project is to provide a SIMPLEST way to access data. That means less time to learn and less code to write. **Source code upgraded to version 2.1-SNAPSHOT!** * Transaction and SimpleTransaction removed; * DAO.update() improved; * No longer uses dao-config.xml, uses DataSourceManager instead, which is more friendly to IOC containers; * Only Oracle is fully tested for now. Features: * JDBC connection management with multiple datasources * Parameterized SQL execution * Automatic Table-Object mapping without any configuration * Pojo/Map based inserting * JDBC based cross-datasource transaction management Requirement: * Java 1.5 or above. Example: ``` DAO dao = dataSourceManager.getDAO("dbserver1"); List employees = dao.query( Employee.class, // wra
VIP VIP
0.284933s