01: /**
02: * Jedes Selectstatement erhaelt eine eigene Klasse
03: */package com.teamkonzept.field.db.queries;
04:
05: import com.teamkonzept.db.*;
06: import java.sql.*;
07:
08: public class TKDBContentNodePut extends TKPrepQuery {
09:
10: public final static boolean isPrepared = true;
11:
12: public final static String[] paramOrder = { "CONTENT_ID",
13: "CONTENT_NODE_ID", "LEFT_NR", "RIGHT_NR", "NAME" };
14:
15: public final static Object[][] paramTypes = null;
16:
17: public final static boolean[] setRelevants = { false };
18:
19: public final static String sqlString = "INSERT INTO CONTENT_NODE "
20: + " (CONTENT_ID, CONTENT_NODE_ID, LEFT_NR, RIGHT_NR, NAME) "
21: + " VALUES(?,?,?,?,?) ";
22:
23: public void initQuery(Connection con) {
24: super.initQuery(con, isPrepared, paramOrder, paramTypes,
25: setRelevants, sqlString);
26: }
27: }
|