KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jimm > datavision > source > sql > SubreportDatabase


1 package jimm.datavision.source.sql;
2 import jimm.datavision.Subreport;
3 import java.sql.Connection JavaDoc;
4 import java.sql.SQLException JavaDoc;
5
6 /**
7  * The only difference between this and a <code>Database</code> is the
8  * type of the query that it holds and the single constructor.
9  *
10  * @author Jim Menard, <a HREF="mailto:jimm@io.com">jimm@io.com</a>
11  */

12 public class SubreportDatabase extends Database {
13
14 public SubreportDatabase(Connection JavaDoc conn, Subreport report)
15   throws SQLException JavaDoc
16 {
17     super(conn, report);
18     query = new SubreportQuery(report);
19 }
20
21 }
22
Popular Tags