KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > content > MediaDelete


1 /*
2  * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/webman/mainint/db/queries/content/MediaDelete.java,v 1.1 2001/05/23 09:12:49 marwan Exp $
3  *
4  */

5 package com.teamkonzept.webman.mainint.db.queries.content;
6
7 import java.sql.*;
8
9 import com.teamkonzept.db.*;
10
11
12 public class MediaDelete extends TKPrepQuery implements QueryConstants{
13
14     public final static boolean isPrepared =true;
15     
16     public final static String JavaDoc[] paramOrder =
17         {MEDIA_ID};
18         
19     public final static Object JavaDoc[][] paramTypes = null;
20         
21     public final static boolean[] setRelevants = null;
22         
23         
24     public final static String JavaDoc sqlString =
25     
26         " DELETE FROM MEDIA " +
27         " WHERE MEDIA_ID = ? "
28     
29       ;
30         
31         
32
33     public void initQuery(Connection con) {
34         super.initQuery(
35             con,
36             isPrepared,
37             paramOrder,
38             paramTypes,
39             setRelevants,
40             sqlString );
41     }
42 }
43
Popular Tags