01: /*
02: * $Header: /cvsroot/webman-cms/source/webman/com/teamkonzept/webman/mainint/db/queries/content/ContGetMaxID.java,v 1.5 2001/11/09 16:08:50 markus Exp $
03: *
04: */
05: package com.teamkonzept.webman.mainint.db.queries.content;
06:
07: import java.sql.*;
08:
09: import com.teamkonzept.db.*;
10:
11: /**
12: *
13: * @author
14: * @version
15: */
16:
17: public class ContGetMaxID extends TKPrepQuery {
18:
19: public final static boolean ISPREPARED = true;
20: public final static String[] PARAMORDER = null;
21: public final static Object[][] PARAMTYPES = null;
22: public final static boolean[] SETRELEVANTS = { true };
23:
24: public final static String SQLSTRING = "SELECT MAX(CONTENT_ID) AS CONTENT_ID FROM CONTENT";
25:
26: public void initQuery(Connection con) {
27: super.initQuery(con, ISPREPARED, PARAMORDER, PARAMTYPES,
28: SETRELEVANTS, SQLSTRING);
29: }
30: }
|