DbUtils,http://jakarta.apache.org/commons/dbutils/DbUtils is designed to be: Small - you should be able to understand the whole package in a short amount of time.
Transparent - DbUtils doesn't do any magic behind the scenes. You give it a query, it executes it and cleans up for you.
Fast - You don't need to create a million temporary objects to work with DbUtils.
DbUtils is not: An Object/Relational bridge - there are plenty of good O/R tools already. DbUtils is for developers looking to use JDBC without all the mundane pieces.
A Data Access Object (DAO) framework - DbUtils can be used to build a DAO framework though.
An object oriented abstraction of general database objects like a Table, Column, or PrimaryKey.
A heavyweight framework of any kind - the goal here is to be a straightforward and easy to use JDBC helper library. 我用过,纯JDBC解决方案,对习惯SQL的程序员来说很好用。
Transparent - DbUtils doesn't do any magic behind the scenes. You give it a query, it executes it and cleans up for you.
Fast - You don't need to create a million temporary objects to work with DbUtils.
DbUtils is not: An Object/Relational bridge - there are plenty of good O/R tools already. DbUtils is for developers looking to use JDBC without all the mundane pieces.
A Data Access Object (DAO) framework - DbUtils can be used to build a DAO framework though.
An object oriented abstraction of general database objects like a Table, Column, or PrimaryKey.
A heavyweight framework of any kind - the goal here is to be a straightforward and easy to use JDBC helper library. 我用过,纯JDBC解决方案,对习惯SQL的程序员来说很好用。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货