01: package com.teamkonzept.webman.refsel.db.queries;
02:
03: import java.sql.*;
04:
05: import com.teamkonzept.db.*;
06:
07: /*
08: * TKWMDBMotherNode
09: * @author
10: * @version
11: */
12: public class TKWMDBMotherNode extends TKPrepQuery {
13:
14: public final static boolean IS_PREPARED = true;
15:
16: public final static String[] PARAM_ORDER = { "SITE_NODE_ID" };
17:
18: public final static Object[][] PARAM_TYPES = null;
19:
20: public final static boolean[] SET_RELEVANTS = { true };
21:
22: public final static String SQL_STRING = "SELECT "
23: + " SITE_NODE_PARENT " + "FROM " + " SITE_TREE " + "WHERE "
24: + " SITE_NODE_ID = ? ";
25:
26: public void initQuery(Connection con) {
27: super.initQuery(con, IS_PREPARED, PARAM_ORDER, PARAM_TYPES,
28: SET_RELEVANTS, SQL_STRING);
29: }
30: }
|