01: package jimm.datavision.source.sql;
02:
03: import jimm.datavision.Subreport;
04: import java.sql.Connection;
05: import java.sql.SQLException;
06:
07: /**
08: * The only difference between this and a <code>Database</code> is the
09: * type of the query that it holds and the single constructor.
10: *
11: * @author Jim Menard, <a href="mailto:jimm@io.com">jimm@io.com</a>
12: */
13: public class SubreportDatabase extends Database {
14:
15: public SubreportDatabase(Connection conn, Subreport report)
16: throws SQLException {
17: super (conn, report);
18: query = new SubreportQuery(report);
19: }
20:
21: }
|