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