1 5 8 package com.teamkonzept.webman.mainint.db.queries; 9 10 import java.sql.*; 11 12 import com.teamkonzept.db.*; 13 14 20 public class TKDBPresContUpdate extends TKPrepQuery{ 21 22 public final static boolean isPrepared = 23 true; 24 25 public final static String [] paramOrder = 26 { "FORM_ID", 27 "PRESENTATION_ID", "PRESENTATION_COMPONENT_IDX" }; 28 29 public final static Object [][] paramTypes = 30 null; 31 32 public final static boolean[] setRelevants = 33 { false }; 34 35 public final static String sqlString = 36 "UPDATE " + 37 " PRESENTATION_CONTENT " + 38 "SET " + 39 " FORM_ID = ? " + 40 "WHERE " + 41 " PRESENTATION_ID = ? " + 42 "AND " + 43 " PRESENTATION_COMPONENT_IDX = ? "; 44 45 46 public void initQuery(Connection con) { 47 super.initQuery( 48 con, 49 isPrepared, 50 paramOrder, 51 paramTypes, 52 setRelevants, 53 sqlString ); 54 } 55 } 56 57 | Popular Tags |