|
[Deprecated API] | ||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | CURRENT API | |||||||||
See:
Description
| Interface Summary | |
| SmartDataSource | Interface to be implemented by classes that can provide a connection to a relational database. |
| Class Summary | |
| AbstractDataSource | Abstract base class for Spring's DataSource implementations, taking care of the "uninteresting" glue. |
| ConnectionHolder | Connection holder, wrapping a JDBC Connection. |
| DataSourceUtils | Class containing static methods to obtain connections from JNDI and close connections if necessary. |
| DriverManagerDataSource | Implementation of SmartDataSource that configures a plain old JDBC Driver via bean properties, and returns a new connection every time. |
| SingleConnectionDataSource | Implementation of SmartDataSource that wraps a single connection which is not closed after use. |
| Exception Summary | |
| CannotCloseJdbcConnectionException | Exception thrown when we successfully executed a SQL statement, but then failed to close the JDBC connection. |
| CannotGetJdbcConnectionException | Fatal exception thrown when we can't connect to an RDBMS using JDBC. |
Provides a utility class for easy DataSource access, and various simple DataSource implementations.