1 5 package com.teamkonzept.webman.mainint.db.queries; 6 7 import java.sql.*; 8 9 import com.teamkonzept.db.*; 10 11 16 public class TKDBTmplGet extends TKPrepQuery{ 17 18 public final static boolean isPrepared = 19 true; 20 21 public final static String [] paramOrder = 22 { "TEMPLATE_ID" }; 23 24 public final static Object [][] paramTypes = 25 null; 26 27 public final static boolean[] setRelevants = 28 { true }; 29 30 public final static String sqlString = 31 "SELECT " + 32 " TEMPLATE_ID, TEMPLATE_NAME " + 33 "FROM " + 34 " TEMPLATE " + 35 "WHERE " + 36 " TEMPLATE_ID = ?"; 37 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 |