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