| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base class for JdbcTemplate and other JDBC-accessing DAO helpers, defining common properties like exception translator.
Not intended to be used directly. See JdbcTemplate.
Method Summary | |
void | afterPropertiesSet() Eagerly initialize the exception translator, creating a default one for the specified DataSource if none set. |
DataSource | getDataSource() Return the DataSource used by this template. |
synchronized SQLExceptionTranslator | getExceptionTranslator() Return the exception translator for this instance. |
void | setDataSource(DataSource dataSource) Set the JDBC DataSource to obtain connections from. |
void | setExceptionTranslator(SQLExceptionTranslator exceptionTranslator) Set the exception translator for this instance. |
Method Detail |
public void afterPropertiesSet()
public DataSource getDataSource()
public synchronized SQLExceptionTranslator getExceptionTranslator()
public void setDataSource(DataSource dataSource)
public void setExceptionTranslator(SQLExceptionTranslator exceptionTranslator)
Association Links |
to Class org.springframework.jdbc.support.SQLExceptionTranslator
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |