1 package com.teamkonzept.webman.mainint.db.queries.content; 2 3 import java.sql.Connection ; 4 import java.sql.Types ; 5 import com.teamkonzept.db.*; 6 7 public class InsertContentXML extends TKPrepQuery 8 { 9 10 public final static boolean PREPARED = true; 11 12 public final static String [] ORDER = { "CONTENT_ID", "XML_TEXT" }; 13 14 public final static Object [][] TYPES = {{"XML_TEXT", 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( 22 con, 23 PREPARED, 24 ORDER, 25 TYPES, 26 RELEVANTS, 27 SQL_STRING ); 28 } 29 30 } 31 | Popular Tags |