KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > webman > generator > db > queries > GenRefTypes


1 package de.webman.generator.db.queries;
2
3 import com.teamkonzept.db.*;
4 import java.sql.*;
5
6 /*
7  * DBGenRefTypes
8  * Holt alle Typen aller Referenzen aller Praesentationen
9  *
10  * Input: Keiner
11  * Output: alle Typen aller Referenzen aller Praesentationen
12  * @author $Author: alex $
13  * @version $Revision: 1.1 $
14  */

15 public class GenRefTypes extends TKPrepQuery {
16
17     public static boolean isPrepared =
18         true;
19     
20     public static String JavaDoc[] paramOrder =
21         null;
22     
23     public static Object JavaDoc[][] paramTypes =
24         null;
25         
26     public static boolean[] setRelevants =
27         { true };
28         
29     public static String JavaDoc sqlString =
30         "SELECT " +
31         " * " +
32         "FROM " +
33         " PRESENTATION_REFERENCE " +
34         "ORDER BY " +
35         " PRESENTATION_ID, PRESENTATION_COMPONENT_IDX";
36
37     
38     public void initQuery(Connection con) {
39         super.initQuery(
40             con,
41             isPrepared,
42             paramOrder,
43             paramTypes,
44             setRelevants,
45             sqlString );
46     }
47 }
48
Popular Tags