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 CheckTemplateExists extends TKPrepQuery 11 { 12 13 public final static boolean PREPARED = true; 14 15 public final static String [] ORDER = { "TEMPLATE_NAME" }; 16 17 public final static Object [][] TYPES = { }; 18 19 public final static boolean[] RELEVANTS = { true }; 20 21 public final static String SQL_STRING = "SELECT TEMPLATE_NAME FROM TEMPLATE" 22 + " WHERE TEMPLATE_NAME = ?"; 23 24 public void initQuery(Connection con) 25 { 26 super.initQuery( 27 con, 28 PREPARED, 29 ORDER, 30 TYPES, 31 RELEVANTS, 32 SQL_STRING ); 33 } 34 35 } 36 | Popular Tags |