1 package de.webman.content.workflow.db.queries; 2 3 import com.teamkonzept.db.*; 4 import java.sql.*; 5 6 11 public class UpdateInterestingVersion extends TKPrepQuery 12 { 13 14 public final static boolean IS_PREPARED = 15 true; 16 17 public final static String [] PARAM_ORDER = 18 { "INTERESTING", "VERSION_ID"}; 19 20 public final static Object [][] PARAM_TYPES = 21 null; 22 23 public final static boolean[] SET_RELEVANTS = 24 { true }; 25 26 public final static String SQL_STRING = 27 28 "UPDATE " + 29 "CONTENT_VERSION SET " + 30 " INTERESTING = ? " + 31 "WHERE VERSION_ID= ?" ; 32 33 34 public void initQuery(Connection con) { 35 super.initQuery( 36 con, 37 IS_PREPARED, 38 PARAM_ORDER, 39 PARAM_TYPES, 40 SET_RELEVANTS, 41 SQL_STRING ); 42 } 43 } 44 | Popular Tags |