IBM DB2 Manual page 345

Table of Contents

Advertisement

|
|
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
public int getDB2SecurityMechanism()
throws java.sql.SQLException
Returns the security mechanism that is in effect for the connection:
3
Clear text password security
4
User ID-only security
7
Encrypted password security
9
Encrypted user ID and password security
11
Kerberos security
12
Encrypted user ID and data security
13
Encrypted user ID, password, and data security
15
Plugin security
16
Encrypted user ID-only security
getDB2SystemMonitor
Format:
public abstract DB2SystemMonitor getDB2SystemMonitor()
throws java.sql.SQLException
Returns the system monitor object for the connection. Each IBM Data Server
Driver for JDBC and SQLJ connection can have a single system monitor.
getJccLogWriter
Format:
public PrintWriter getJccLogWriter()
throws java.sql.SQLException
Returns the current trace destination for the IBM Data Server Driver for JDBC
and SQLJ trace.
installDB2JavaStoredProcedure
Format:
public void DB2Connection.installDB2JavaStoredProcedure(
java.io.InputStream jarFile,
int jarFileLength,
String jarId)
throws java.sql.SQLException
Invokes the SQLJ.DB2_INSTALL_JAR stored procedure on a DB2 for z/OS
server to create a new definition of a JAR file in the catalog for that server.
Parameter descriptions:
jarFile
The contents of the JAR file that is to be defined to the server.
jarFileLength
The length of the JAR file that is to be defined to the server.
jarId
The name of the JAR in the database, in the form schema.JAR-id or JAR-id.
This is the name that you use when you refer to the JAR in SQL
statements. If you omit schema, the database system uses the SQL
authorization ID that is in the CURRENT SCHEMA special register. The
owner of the JAR is the authorization ID in the CURRENT SQLID special
register.
Chapter 7. JDBC and SQLJ reference information
329

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents