01: package com.teamkonzept.webman.mainint.db.queries.content;
02:
03: import java.sql.Connection;
04: import com.teamkonzept.db.*;
05:
06: public class UpdateContentTreeSetContentNodeParentSelect extends
07: TKPrepQuery {
08:
09: public final static boolean prepared = true;
10:
11: public final static String[] order = { "DEST", "SRC" };
12:
13: public final static Object[][] types = null;
14:
15: public final static boolean[] relevants = { true };
16:
17: public final static String sqlString = "UPDATE CONTENT_TREE SET CONTENT_NODE_PARENT = (SELECT CONTENT_NODE_PARENT FROM CONTENT_TREE WHERE CONTENT_NODE_ID = ?) WHERE CONTENT_NODE_ID = ?";
18:
19: public void initQuery(Connection con) {
20: super.initQuery(con, prepared, order, types, relevants,
21: sqlString);
22: }
23:
24: }
|