1 5 8 package com.teamkonzept.webman.mainint.db.queries.field; 9 10 import java.sql.*; 11 12 import com.teamkonzept.db.*; 13 14 19 public class SelectForm extends TKPrepQuery{ 20 21 public final static boolean ISPREPARED = 22 true; 23 24 public final static String [] PARAMORDER = {MAX, FORM_TYPE}; 25 26 public final static Object [][] PARAMTYPES = 27 null; 28 29 public final static boolean[] SETRELEVANTS = 30 { true }; 31 32 public final static String SQLSTRING = 33 "SELECT ? AS FORM_ID, ? AS FORM_TYPE FROM FORM"; 34 35 public void initQuery(Connection con) { 36 super.initQuery( 37 con, 38 ISPREPARED, 39 PARAMORDER, 40 PARAMTYPES, 41 SETRELEVANTS, 42 SQLSTRING ); 43 } 44 } 45 46 47 | Popular Tags |