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