1 package com.teamkonzept.webman.mainint.db.queries; 2 3 import com.teamkonzept.db.*; 4 import java.sql.*; 5 6 15 public class TKDBContentTreeGetTypeOrderByName extends TKPrepQuery { 16 17 public final static boolean ISPREPARED = 18 true; 19 20 public final static String [] PARAMORDER = 21 { "CONTENT_NODE_TYPE" }; 22 23 public final static Object [][] PARAMTYPES = 24 null; 25 26 public final static boolean[] SETRELEVANTS = 27 { true }; 28 29 30 public final static String SQLSTRING = 31 "SELECT " + 32 " * " + 33 "FROM " + 34 " CONTENT_TREE " + 35 "WHERE " + 36 " CONTENT_NODE_TYPE = ? " + 37 "ORDER BY " + 38 DBStringFactory.upper_order() + " (CONTENT_NODE_NAME) "; 39 40 41 public void initQuery(Connection con) { 42 super.initQuery( 43 con, 44 ISPREPARED, 45 PARAMORDER, 46 PARAMTYPES, 47 SETRELEVANTS, 48 SQLSTRING ); 49 } 50 } | Popular Tags |