01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/field/db/queries/sybase/TKDBFormDelete.java,v 1.1 2001/10/15 10:03:12 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: public class TKDBFormDelete extends TKPrepQuery {
18:
19: public final static boolean ISPREPARED = true;
20: public final static String[] PARAMORDER = { "FORM_ID", "FORM_ID" };
21:
22: public final static Object[][] PARAMTYPES = null;
23:
24: public final static boolean[] SETRELEVANTS = { false };
25:
26: public final static String SQLSTRING = "DELETE FROM STRUCTURED_CONTENT WHERE FORM_ID = ? "
27: + "DELETE FROM FORM WHERE FORM_ID = ? ";
28:
29: public void initQuery(Connection con) {
30: super.initQuery(con, ISPREPARED, PARAMORDER, PARAMTYPES,
31: SETRELEVANTS, SQLSTRING);
32: }
33: }
|