1 package com.teamkonzept.webman.mainint.db.queries.accesscontrol; 2 3 import java.sql.Connection ; 4 import com.teamkonzept.db.*; 5 6 public class InsertWMTask extends TKPrepQuery 7 { 8 9 public final static boolean prepared = true; 10 11 public static final String [] order = 12 { 13 "WM_TASK_ID", 14 "NAME", 15 "WM_CONTEXT_ID" 16 }; 17 18 public static final Object [][] types = 19 { 20 {"NAME", new Integer (java.sql.Types.VARCHAR)} 21 }; 22 23 public final static boolean[] relevants = { true }; 24 25 public final static String sqlString = "INSERT INTO WM_TASK (WM_TASK_ID, NAME, WM_CONTEXT_ID) 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 |