KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > CheckTableExistence


1 package com.teamkonzept.webman.mainint.db.queries;
2
3 import java.sql.Connection JavaDoc;
4 import com.teamkonzept.db.*;
5
6 public class CheckTableExistence extends TKPrepQuery
7 {
8
9     public final static boolean PREPARED = true;
10
11     public final static String JavaDoc[] ORDER =
12     {
13         "TABLE_NAME"
14     };
15
16     public final static Object JavaDoc[][] TYPES = null;
17
18     public final static boolean[] RELEVANTS = { true };
19
20     public final static String JavaDoc SQLSTRING = DBStringFactory.checkExistence() + " = ?";
21
22     public void initQuery(Connection JavaDoc con) {
23         super.initQuery(
24             con,
25             PREPARED,
26             ORDER,
27             TYPES,
28             RELEVANTS,
29             SQLSTRING );
30     }
31
32 }
33
Popular Tags