1 package com.teamkonzept.webman.mainint.db.queries.content; 2 3 import java.sql.Connection ; 4 import com.teamkonzept.db.*; 5 6 public class InsertContentSelection extends TKPrepQuery 7 { 8 9 public final static boolean prepared = true; 10 11 public final static String [] order = { 12 "SELECTION_ID", 13 "SELECTION_TYPE", 14 "SELECTION_DATA" 15 }; 16 17 public final static Object [][] types = { 18 { "SELECTION_TYPE", new Integer (java.sql.Types.VARCHAR) }, 19 { "SELECTION_DATA", new Integer (java.sql.Types.LONGVARCHAR) } 20 }; 21 22 23 public final static boolean[] relevants = { true }; 24 25 public final static String sqlString = "INSERT INTO CONTENT_SELECTION (SELECTION_ID, SELECTION_TYPE, SELECTION_DATA) VALUES (?, ?, ?)"; 26 27 public void initQuery(Connection con) { 28 super.initQuery( 29 con, 30 prepared, 31 order, 32 types, 33 relevants, 34 sqlString ); 35 } 36 37 } | Popular Tags |