01: package com.teamkonzept.webman.mainint.db.queries.markups;
02:
03: import com.teamkonzept.db.*;
04: import java.sql.Connection;
05: import java.sql.Types;
06:
07: public class InsertProperty2 extends TKPrepQuery {
08:
09: public final static boolean ISPREPARED = true;
10:
11: public final static String[] PARAMORDER = { "PROPERTY_MAX",
12: "CR_MARKUP" };
13:
14: public final static Object[][] PARAMTYPES = { { "CR_MARKUP",
15: new Integer(Types.LONGVARCHAR) }, };
16:
17: public final static boolean[] SETRELEVANTS = { false };
18:
19: public final static String SQLSTRING = "INSERT INTO PROPERTY ( PROPERTY_ID, NAME, VALUE ) VALUES (?, 'CR_MARKUP',?)";
20:
21: public void initQuery(Connection con) {
22: super.initQuery(con, ISPREPARED, PARAMORDER, PARAMTYPES,
23: SETRELEVANTS, SQLSTRING);
24: }
25: }
|