|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.jdbc.db.DB2
DB2 JDBC library.
Library of functions/procedures for DB2 UDB that supports the shipping IDM JDBC driver preconfigurations.
This class MUST be installed on the database server for the shipping preconfigurations to work. It MUST also be compiled for the 1.1.8 JVM when deployed on a DB2 UDB 7 server.
NOTE: DB2 UDB Version 7 doesn't allow functions to execute any SQL statements, even if the SQL is read-only.
Field Summary | |
static int |
LEN_TIMESTAMP
The length of a default DB2 timestamp (e.g. " 2002-01-01-00.00.00.000000 ") |
Method Summary | |
static void |
PROC_CLEANUPLOG(String I_SCHEMA)
Stored Procedure used by preconfigured driver(s) to move processed rows from the log table to the processed table. |
static void |
PROC_IDG(long[] O_IDG)
Stored procedure used by preconfigured driver(s) to retrieve the last generated primary key for table INDIRECT.LAST_IDG. |
static void |
PROC_IDU(long[] O_IDU)
Stored procedure used by preconfigured driver(s) to retrieve the last generated primary key for table INDIRECT.LAST_IDU. |
static String |
TO_ODBC_TIMESTAMP(String timestamp)
Converts a default DB2 timestamp (e.g. " 2002-01-01-00.00.00.000000 ")
to ODBC cannonical format. |
static String |
TOBASE64(byte[] bytes)
Base64-encodes bytes . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int LEN_TIMESTAMP
2002-01-01-00.00.00.000000
")
Method Detail |
public static String TOBASE64(byte[] bytes) throws SQLException
bytes
.
bytes
- may be null
; may be empty
null
SQLException
public static String TO_ODBC_TIMESTAMP(String timestamp)
2002-01-01-00.00.00.000000
")
to ODBC cannonical format.
timestamp
- may be null
null
public static void PROC_IDG(long[] O_IDG) throws SQLException
O_IDG
- may be null
; may contain null
SQLException
public static void PROC_IDU(long[] O_IDU) throws SQLException
O_IDU
- may be null
; may contain null
SQLException
public static void PROC_CLEANUPLOG(String I_SCHEMA) throws SQLException
I_SCHEMA
- the schema name of the log/processed tables;
may be null
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |