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