1 5 package com.teamkonzept.webman.mainint.db.queries; 6 7 import java.sql.*; 8 9 import com.teamkonzept.db.*; 10 11 17 public class TKDBTmplUpdate extends TKPrepQuery{ 18 19 public final static boolean isPrepared = 20 true; 21 22 public final static String [] paramOrder = 23 { "TEMPLATE_NAME", "TEMPLATE_ID" }; 24 25 public final static Object [][] paramTypes = 26 {{"TEMPLATE_NAME", new Integer (Types.VARCHAR)}}; 27 28 public final static boolean[] setRelevants = 29 { false }; 30 31 public final static String sqlString = 32 "UPDATE " + 33 " TEMPLATE " + 34 "SET " + 35 " TEMPLATE_NAME = ? " + 36 "WHERE " + 37 " TEMPLATE_ID = ? "; 38 39 public void initQuery(Connection con) { 40 super.initQuery( 41 con, 42 isPrepared, 43 paramOrder, 44 paramTypes, 45 setRelevants, 46 sqlString ); 47 } 48 } 49 50 | Popular Tags |