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