1 package de.webman.acl.db.queries.sybase; 2 3 import java.sql.Connection ; 4 import java.sql.Types ; 5 import com.teamkonzept.db.TKPrepQuery; 6 7 14 public class ActionDelete 15 extends TKPrepQuery 16 { 17 18 20 public static final String [] ORDER = 21 { 22 "WM_ACTION_ID", 23 "WM_ACTION_ID" 24 }; 25 26 public static final Object [][] TYPES = 27 { 28 {"WM_ACTION_ID", new Integer (Types.INTEGER)}, 29 {"WM_ACTION_ID", new Integer (Types.INTEGER)} 30 }; 31 32 public static final boolean[] RELEVANTS = 33 { 34 false 35 }; 36 37 public static final String SQL = (new StringBuffer ()).append("DELETE FROM WM_TASK_ACTION WHERE WM_ACTION_ID = ? ") 38 .append("DELETE FROM WM_ACTION WHERE WM_ACTION_ID = ?") 39 .toString(); 40 41 42 44 public void initQuery (Connection connection) 45 { 46 super.initQuery(connection, 47 true, 48 ORDER, 49 TYPES, 50 RELEVANTS, 51 SQL); 52 } 53 54 } 55 | Popular Tags |