KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > teamkonzept > webman > mainint > db > queries > duplication > postgresql > TKDBPutProperty


1 package com.teamkonzept.webman.mainint.db.queries.duplication.postgresql;
2
3 import com.teamkonzept.db.*;
4 //import com.teamkonzept.lib.*;
5

6 import java.io.*;
7 import java.util.*;
8 import java.sql.*;
9
10 /**
11  * @author $Author: ralf $
12  * @version $Revision: 1.1 $
13  */

14 public class TKDBPutProperty extends TKPrepQuery{
15
16     public final static boolean IS_PREPARED =
17         true;
18     
19     public final static String JavaDoc[] PARAM_ORDER =
20         { "NAME", "VALUE"};
21     
22     public final static Object JavaDoc[][] PARAM_TYPES =
23         {{ "NAME", new Integer JavaDoc(Types.VARCHAR) },
24          { "VALUE", new Integer JavaDoc(Types.VARCHAR) }
25         };
26                 
27     public final static boolean[] SET_RELEVANTS =
28         null;
29         
30     public final static String JavaDoc SQL_STRING =
31         " select dup__put_property(?, ?) ";
32     
33     public void initQuery(Connection con) {
34         super.initQuery(
35             con,
36             IS_PREPARED,
37             PARAM_ORDER,
38             PARAM_TYPES,
39             SET_RELEVANTS,
40             SQL_STRING );
41     }
42 }
43
Popular Tags