1 package com.teamkonzept.webman.mainint.db.queries.markups; 2 3 import com.teamkonzept.db.*; 4 import java.sql.Connection ; 5 import java.sql.Types ; 6 7 public class InsertProperty1 extends TKPrepQuery { 8 9 public final static boolean ISPREPARED = true; 10 11 public final static String [] PARAMORDER = 12 { "PROPERTY_MAX", "CR_CONTROL" }; 13 14 public final static Object [][] PARAMTYPES = 15 {{ "CR_CONTROL", new Integer (Types.LONGVARCHAR) } 16 }; 17 18 public final static boolean[] SETRELEVANTS = { false }; 19 20 public final static String SQLSTRING = 21 "INSERT INTO PROPERTY ( PROPERTY_ID, NAME, VALUE ) VALUES (?, 'CR_CONTROL',?)"; 22 23 public void initQuery(Connection con) { 24 super.initQuery(con,ISPREPARED,PARAMORDER,PARAMTYPES,SETRELEVANTS,SQLSTRING ); 25 } 26 } 27 | Popular Tags |