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