1 package com.teamkonzept.webman.mainint.db.queries.template; 2 3 import com.teamkonzept.db.TKPrepQuery; 4 import java.sql.Connection ; 5 6 10 public class CheckTemplateDependency extends TKPrepQuery 11 { 12 13 public final static boolean PREPARED = true; 14 15 public final static String [] ORDER = { "TEMPLATE_ID" }; 16 17 public final static Object [][] TYPES = { }; 18 19 public final static boolean[] RELEVANTS = { true }; 20 21 public final static String SQL_STRING = "SELECT PRESENTATION_NAME FROM PRESENTATION " 22 + " WHERE TEMPLATE_ID = ?"; 23 24 public void initQuery(Connection con) { 25 super.initQuery( 26 con, 27 PREPARED, 28 ORDER, 29 TYPES, 30 RELEVANTS, 31 SQL_STRING ); 32 } 33 34 } | Popular Tags |