1 5 package com.teamkonzept.webman.mainint.db.queries.sitetree; 6 7 import java.sql.*; 8 9 import com.teamkonzept.db.*; 10 11 15 public class StGetOldPgSel extends TKPrepQuery { 16 17 public final static boolean ISPREPARED = true; 18 public final static String [] PARAMORDER = { SITE_NODE_ID }; 19 public final static Object [][] PARAMTYPES = null; 20 public final static boolean[] SETRELEVANTS = { true }; 21 22 public final static String SQLSTRING = 23 24 " SELECT PG_SELECTION_ID AS "+ OLD_PG_SELECTION_ID +" FROM SITE_TREE " + 25 " WHERE SITE_NODE_ID = ? "; 26 27 public void initQuery(Connection con) { 28 super.initQuery( 29 con, 30 ISPREPARED, 31 PARAMORDER, 32 PARAMTYPES, 33 SETRELEVANTS, 34 SQLSTRING ); 35 } 36 } 37 38 39 | Popular Tags |