KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > sitetree > StGetOldPgSel


1 /*
2  * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/webman/mainint/db/queries/sitetree/Attic/StGetOldPgSel.java,v 1.5 2036/02/08 19:17:15 markus Exp $
3  *
4  */

5 package com.teamkonzept.webman.mainint.db.queries.sitetree;
6
7 import java.sql.*;
8
9 import com.teamkonzept.db.*;
10
11 /**
12  * @author
13  * @version
14  */

15 public class StGetOldPgSel extends TKPrepQuery {
16     
17     public final static boolean ISPREPARED = true;
18     public final static String JavaDoc[] PARAMORDER = { SITE_NODE_ID };
19     public final static Object JavaDoc[][] PARAMTYPES = null;
20     public final static boolean[] SETRELEVANTS = { true };
21         
22     public final static String JavaDoc SQLSTRING =
23         
24             " SELECT PG_SELECTION_ID AS "+ OLD_PG_SELECTION_ID +" FROM SITE_TREE " +
25             " WHERE SITE_NODE_ID = ? ";
26     
27     public void initQuery(Connection con) {
28         super.initQuery(
29             con,
30             ISPREPARED,
31             PARAMORDER,
32             PARAMTYPES,
33             SETRELEVANTS,
34             SQLSTRING );
35     }
36 }
37
38
39
Popular Tags