1 5 package com.teamkonzept.webman.mainint.db.queries; 6 7 import java.sql.*; 8 9 import com.teamkonzept.db.*; 10 11 18 public class TKDBTmplGetAll extends TKPrepQuery{ 19 20 21 public static final boolean ISPREPARED = true; 22 public static final String [] PARAMORDER = null; 23 public static final Object [][] PARAMTYPES = null; 24 public static final boolean[] SETRELEVANTS = { true }; 25 26 27 public static final String SQLSTRING = 28 "SELECT TEMPLATE_ID, TEMPLATE_NAME " + 29 "FROM TEMPLATE ORDER BY " + DBStringFactory.upper_order() + "(TEMPLATE_NAME)"; 30 31 public void initQuery(Connection con) { 32 super.initQuery( 33 con, 34 ISPREPARED, 35 PARAMORDER, 36 PARAMTYPES, 37 SETRELEVANTS, 38 SQLSTRING ); 39 } 40 } 41 42 | Popular Tags |