org.apache.commons.dbutils

Java Source Code / Java Documentation
1. JDK Core
2. JDK Modules
3. JDK Modules com.sun
4. JDK Modules com.sun.java
5. JDK Modules Platform
6. JDK Modules sun
7. Open Source Build
8. Open Source Graphic Library
9. Open Source IDE Eclipse
10. Open Source J2EE
11. Open Source JDBC Driver
12. Open Source Library
13. Open Source Library Database
14. Open Source Net
15. Open Source Script
16. Science
17. Security
18. Sevlet Container
19. SUN GlassFish
20. Swing Library
21. Web Services apache cxf 2.0.1
22. Web Services AXIS2
23. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Source Code / Java Documentation » Open Source Library Database » Database Utilities » org.apache.commons.dbutils 
org.apache.commons.dbutils

DbUtils is a small set of classes designed to make working with JDBC easier. JDBC resource cleanup code is mundane, error prone work so these classes abstract out all of the cleanup tasks from your code leaving you with what you really wanted to do with JDBC in the first place: query and update data.

This package contains the core classes and interfaces - DbUtils, QueryRunner and the ResultSetHandler interface should be your first items of interest.

Java Source File NameTypeComment
BaseTestCase.javaClass BaseTestCase is the base class for all test cases as well as the "all tests" runner.
BasicRowProcessor.javaClass Basic implementation of the RowProcessor interface.
BasicRowProcessorTest.javaClass Test the BasicRowProcessor class.
BeanProcessor.javaClass

BeanProcessor matches column names to bean property names and converts ResultSet columns into objects for those bean properties.

BeanProcessorTest.javaClass
DbUtils.javaClass A collection of JDBC helper methods.
MockResultSet.javaClass MockResultSet dynamically implements the ResultSet interface.
MockResultSetMetaData.javaClass MockResultSetMetaData dynamically implements the ResultSetMetaData interface.
ProxyFactory.javaClass Creates proxy implementations of JDBC interfaces.
ProxyFactoryTest.javaClass ProxyFactoryTest performs simple type checking on proxy objects returned from a ProxyFactory.
QueryLoader.javaClass QueryLoader is a registry for sets of queries so that multiple copies of the same queries aren't loaded into memory. This implementation loads properties files filled with query name to SQL mappings.
QueryLoaderTest.javaClass
QueryRunner.javaClass Executes SQL queries with pluggable strategies for handling ResultSets.
ResultSetHandler.javaInterface Implementations of this interface convert ResultSets into other objects.
ResultSetIterator.javaClass

Wraps a ResultSet in an Iterator.

ResultSetIteratorTest.javaClass
RowProcessor.javaInterface RowProcessor implementations convert ResultSet rows into various other objects.
TestBean.javaClass A bean to use in testing toBean() and toBeanList().
w___w__w_.___j_ava_2_s__.com__ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.