01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/field/db/queries/sybase/TKDBFormTablesDelete.java,v 1.1 2001/10/15 10:04:35 markus Exp $
03: *
04: */
05: /**
06: * Jedes Selectstatement erhaelt eine eigene Klasse
07: */package com.teamkonzept.field.db.queries.sybase;
08:
09: import java.sql.*;
10:
11: import com.teamkonzept.db.*;
12:
13: /**
14: * @author
15: * @version
16: *
17: */
18: public class TKDBFormTablesDelete extends TKPrepQuery {
19:
20: public final static boolean ISPREPARED = true;
21: public final static String[] PARAMORDER = { "FORM_ID", "FORM_ID",
22: "FORM_ID" };
23: public final static Object[][] PARAMTYPES = null;
24: public final static boolean[] SETRELEVANTS = { false, false, false };
25:
26: public final static String SQLSTRING = "DELETE FROM FIELD_ATTRIBUTE WHERE FORM_ID = ? "
27: + "DELETE FROM SUB_FIELD WHERE FORM_ID = ? "
28: + "DELETE FROM FIELD WHERE FORM_ID = ? ";
29:
30: public void initQuery(Connection con) {
31: super.initQuery(con, ISPREPARED, PARAMORDER, PARAMTYPES,
32: SETRELEVANTS, SQLSTRING);
33: }
34: }
|