KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > TKDBContentSelectionGet


1 package com.teamkonzept.webman.mainint.db.queries;
2
3 import java.sql.*;
4
5 import com.teamkonzept.db.*;
6
7 /*
8  * TKDBContentSelectionGet
9  * Holt zu einer SelectionID alles aus CONTENT_SELECTION
10  *
11  * Input: SELECTION_ID
12  * Output: DS aus CONTENT_SELECTION
13  */

14 public class TKDBContentSelectionGet extends TKPrepQuery{
15
16     public final static boolean isPrepared =
17         true;
18     
19     public final static String JavaDoc[] paramOrder =
20         {
21           "SELECTION_ID"
22         };
23     
24     public final static Object JavaDoc[][] paramTypes =
25         null;
26                         
27     public final static boolean[] setRelevants =
28         { true };
29         
30     public final static String JavaDoc sqlString =
31         "SELECT " +
32         " * " +
33         "FROM " +
34         " CONTENT_SELECTION " +
35         "WHERE " +
36         " SELECTION_ID = ? ";
37     
38     public void initQuery(Connection con) {
39         super.initQuery(
40             con,
41             isPrepared,
42             paramOrder,
43             paramTypes,
44             setRelevants,
45             sqlString );
46     }
47 }
48
49
50
Popular Tags