01: package com.teamkonzept.webman.mainint.db.queries.content;
02:
03: import java.sql.Connection;
04: import java.sql.Types;
05: import com.teamkonzept.db.*;
06:
07: public class InsertContentXML extends TKPrepQuery {
08:
09: public final static boolean PREPARED = true;
10:
11: public final static String[] ORDER = { "CONTENT_ID", "XML_TEXT" };
12:
13: public final static Object[][] TYPES = { { "XML_TEXT",
14: new Integer(Types.CLOB) } };
15:
16: public final static boolean[] RELEVANTS = { true };
17:
18: public final static String SQL_STRING = "INSERT INTO CONTENT (CONTENT_ID, XML_TEXT) VALUES(?,?)";
19:
20: public void initQuery(Connection con) {
21: super.initQuery(con, PREPARED, ORDER, TYPES, RELEVANTS,
22: SQL_STRING);
23: }
24:
25: }
|