01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/webman/mainint/db/queries/sitetree/Attic/ContSelInsert.java,v 1.2 2000/12/13 11:29:31 marwan Exp $
03: *
04: */
05: package com.teamkonzept.webman.mainint.db.queries.sitetree;
06:
07: import java.sql.*;
08:
09: import com.teamkonzept.db.*;
10:
11: public class ContSelInsert extends TKPrepQuery {
12: public final static boolean isPrepared = true;
13:
14: public final static String[] paramOrder = { SELECTION_ID,
15: SELECTION_TYPE, SELECTION_DATA };
16:
17: public final static Object[][] paramTypes = {
18: { SELECTION_DATA, new Integer(Types.VARCHAR) },
19: { SELECTION_TYPE, new Integer(Types.VARCHAR) } };
20: public final static boolean[] setRelevants = null;
21:
22: public final static String sqlString =
23:
24: " insert into CONTENT_SELECTION "
25: + " (SELECTION_ID, SELECTION_TYPE, SELECTION_DATA ) "
26: + " values (?,?,?) ";
27:
28: public void initQuery(Connection con) {
29: super.initQuery(con, isPrepared, paramOrder, paramTypes,
30: setRelevants, sqlString);
31: }
32: }
|