1 package com.teamkonzept.webman.mainint.db.queries.content; 2 3 import java.sql.Connection ; 4 import com.teamkonzept.db.*; 5 6 public class SelectOneFromContentTree extends TKPrepQuery 7 { 8 public final static boolean prepared = true; 9 10 public final static String [] order = null; 11 12 public final static Object [][] types = null; 13 14 public final static boolean[] relevants = { true }; 15 16 public final static String sqlString = "SELECT 1 FROM CONTENT_TREE CT, WEBMAN_TEMP T, WEBMAN_TEMP_2 T2 WHERE CT.CONTENT_NODE_ID = T2.CONTENT_NODE_ID AND CT.CONTENT_NODE_TYPE > 1"; 17 18 public void initQuery(Connection con) { 19 super.initQuery( 20 con, 21 prepared, 22 order, 23 types, 24 relevants, 25 sqlString ); 26 } 27 28 } | Popular Tags |