1 package com.teamkonzept.webman.mainint.db.queries.duplication.postgresql; 2 3 import com.teamkonzept.db.*; 4 6 import java.io.*; 7 import java.util.*; 8 import java.sql.*; 9 10 11 20 public class TKDBSiteTreeRenameRecursive extends TKPrepQuery{ 21 22 public final static boolean IS_PREPARED = 23 true; 24 25 public final static String [] PARAM_ORDER = 26 { "NAME_EXT", "POS" , "ROOT_ID" }; 27 28 public final static Object [][] PARAM_TYPES = 29 {{ "NAME_EXT ", new Integer (Types.VARCHAR) }}; 30 31 public final static boolean[] SET_RELEVANTS = 32 null; 33 34 public final static String SQL_STRING = 35 " select dup__site_tree_rename_recursive(?, ? , ?) "; 36 37 public void initQuery(Connection con) { 38 super.initQuery( 39 con, 40 IS_PREPARED, 41 PARAM_ORDER, 42 PARAM_TYPES, 43 SET_RELEVANTS, 44 SQL_STRING ); 45 } 46 } 47 48 49 | Popular Tags |