01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/field/db/queries/TKDBFormSubFieldPut.java,v 1.5 2000/05/22 15:01:15 careck Exp $
03: *
04: */
05: /**
06: * Jedes Selectstatement erhaelt eine eigene Klasse
07: */package com.teamkonzept.field.db.queries;
08:
09: import java.sql.*;
10:
11: import com.teamkonzept.db.*;
12:
13: public class TKDBFormSubFieldPut extends TKPrepQuery {
14:
15: public final static boolean isPrepared = true;
16:
17: public final static String[] paramOrder = { "FORM_ID", "FIELD_ID",
18: "SUB_FIELD_ID", "NAME", "IDX", "POS" };
19:
20: public final static Object[][] paramTypes = null;
21:
22: public final static boolean[] setRelevants = { false };
23:
24: public final static String sqlString = "INSERT INTO SUB_FIELD "
25: + "(FORM_ID, FIELD_ID, SUB_FIELD_ID, NAME, IDX, POS ) "
26: + " VALUES( ?, ?, ?, ?, ?, ?) ";
27:
28: public void initQuery(Connection con) {
29: super.initQuery(con, isPrepared, paramOrder, paramTypes,
30: setRelevants, sqlString);
31: }
32: }
|