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