01: package com.teamkonzept.field.db.queries;
02:
03: import com.teamkonzept.db.*;
04: import java.sql.*;
05:
06: /**
07: speziell fuer Structure Contents
08: */
09: public class TKDBContentValueUpdate extends TKPrepQuery {
10:
11: public final static boolean isPrepared = true;
12:
13: public final static String[] paramOrder = { "IDX", "VALUE",
14: "MEDIA_ID", "CONTENT_ID", "CONTENT_NODE_ID" };
15:
16: public final static Object[][] paramTypes = null;
17:
18: public final static boolean[] setRelevants = { false };
19:
20: public final static String sqlString = "UPDATE CONTENT_VALUE "
21: + " SET IDX= ?, VALUE = ?, MEDIA_ID = ? "
22: + " WHERE CONTENT_ID=? AND CONTENT_NODE_ID=?";
23:
24: public void initQuery(Connection con) {
25: super.initQuery(con, isPrepared, paramOrder, paramTypes,
26: setRelevants, sqlString);
27: }
28: }
|