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 14 public class TKDBPutProperty extends TKPrepQuery{ 15 16 public final static boolean IS_PREPARED = 17 true; 18 19 public final static String [] PARAM_ORDER = 20 { "NAME", "VALUE"}; 21 22 public final static Object [][] PARAM_TYPES = 23 {{ "NAME", new Integer (Types.VARCHAR) }, 24 { "VALUE", new Integer (Types.VARCHAR) } 25 }; 26 27 public final static boolean[] SET_RELEVANTS = 28 null; 29 30 public final static String SQL_STRING = 31 " select dup__put_property(?, ?) "; 32 33 public void initQuery(Connection con) { 34 super.initQuery( 35 con, 36 IS_PREPARED, 37 PARAM_ORDER, 38 PARAM_TYPES, 39 SET_RELEVANTS, 40 SQL_STRING ); 41 } 42 } 43 | Popular Tags |