|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.framework.jdto.jdbc.wrapper.JDBCTemplate
This is the super class of PreparedStatementWrapper and StatementWrapper Classes. This class is mainly responsible for handling the transactions.
Constructor Summary | |
JDBCTemplate()
Default constructor sets the datasource to the current object from ServiceFinder class. |
|
JDBCTemplate(DataSource ds)
Constructor that sets the DataSource to the current PreparedStatementWrapper or StatementWrapper object |
Method Summary | |
void |
setDatasource(DataSource datasource)
This Method Sets the DataSource to the current PreparedStatementWrapper Object or StatementWrapper Object |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCTemplate()
public JDBCTemplate(DataSource ds)
ds
- javax.sql.DataSourceMethod Detail |
public void setDatasource(DataSource datasource)
datasource
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |