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