01: package com.teamkonzept.webman.mainint.db.queries.content;
02:
03: import java.sql.Connection;
04: import com.teamkonzept.db.*;
05:
06: public class InsertContentSelection extends TKPrepQuery {
07:
08: public final static boolean prepared = true;
09:
10: public final static String[] order = { "SELECTION_ID",
11: "SELECTION_TYPE", "SELECTION_DATA" };
12:
13: public final static Object[][] types = {
14: { "SELECTION_TYPE", new Integer(java.sql.Types.VARCHAR) },
15: { "SELECTION_DATA", new Integer(java.sql.Types.LONGVARCHAR) } };
16:
17: public final static boolean[] relevants = { true };
18:
19: public final static String sqlString = "INSERT INTO CONTENT_SELECTION (SELECTION_ID, SELECTION_TYPE, SELECTION_DATA) VALUES (?, ?, ?)";
20:
21: public void initQuery(Connection con) {
22: super.initQuery(con, prepared, order, types, relevants,
23: sqlString);
24: }
25:
26: }
|