|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.report.data.SimpleDataSource
info.informatica.report.data.JDBCDataSource
public class JDBCDataSource
A JDBC-based DataSource implementation.
| Constructor Summary | |
|---|---|
JDBCDataSource(Report rep)
|
|
| Method Summary | |
|---|---|
void |
close()
Release all the resources associated to this data source |
void |
loadData(Connection con,
DataDict dict,
DataView form)
|
void |
loadData(Connection con,
DataDict dict,
Map<String,? extends Object> data_values)
Loads data into this ReportDataSource. |
void |
loadData(String queryname,
ResultSet rs)
Loads a single query resulset into this ReportDataSource. |
| Methods inherited from class info.informatica.report.data.SimpleDataSource |
|---|
getData, getEnviron, putData, setEnviron |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCDataSource(Report rep)
rep - the Report for which this ReportDataSource is intended.| Method Detail |
|---|
public void loadData(String queryname,
ResultSet rs)
throws DataException,
SQLException
This is useful as a "documentation method", or if you do not want to use the data dictionaries.
rs - the Resultset to be printed.queryname - The name of the query in the report (ie. the datasource
name).
DataException
SQLException
public void loadData(Connection con,
DataDict dict,
Map<String,? extends Object> data_values)
throws DataException,
SQLException
con - Database connection.dict - The data dictionary.data_values - a field->value map used to set the parameters of the query
statements that shall fill this ReportDataSource.
DataException
SQLException
public void loadData(Connection con,
DataDict dict,
DataView form)
throws DataException,
SQLException
DataException
SQLExceptionpublic void close()
ReportDataSource
close in interface ReportDataSourceclose in class SimpleDataSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||