EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #382 background imageLoading...
Page #382 background image
public void getTraceLevel()
throws java.sql.SQLException
Returns the trace level for the trace records that are generated by the trace
controller, if it is set. Otherwise, getTraceLevel returns -1 (TRACE_ALL).
unsetLogWriter
Format:
public abstract void unsetLogWriter()
throws java.sql.SQLException
Disables the global log writer override for future connections.
suspendTrace
Format:
public void suspendTrace()
throws java.sql.SQLException
Suspends all global, Connection-level, or DataSource-level traces for current
and future connections. suspendTrace can be called when the global log writer
is enabled or disabled.
resumeTrace
Format:
public void resumeTrace()
throws java.sql.SQLException
Resumes all global, Connection-level, or DataSource-level traces for current and
future connections. resumeTrace can be called when the global log writer is
enabled or disabled. If the global log writer is disabled, resumeTrace resumes
Connection-level or DataSource-level traces. If the global log writer is enabled,
resumeTrace resumes the global trace.
DB2XADataSource class
DB2XADataSource is a factory for XADataSource objects. An object that implements
this interface is registered with a naming service that is based on the Java Naming
and Directory Interface (JNDI).
The com.ibm.db2.jcc.DB2XADataSource class extends the
com.ibm.db2.jcc.DB2BaseDataSource class, and implements the
javax.sql.XADataSource, java.io.Serializable, and javax.naming.Referenceable
interfaces.
DB2XADataSource methods
getDB2TrustedXAConnection
Formats:
public Object[] getDB2TrustedXAConnection(String user,
String password,
java.util.Properties properties)
throws java.sql.SQLException
public Object[] getDB2TrustedXAConnection(
java.util.Properties properties)
throws java.sql.SQLException
public Object[] getDB2TrustedXAConnection(
org.ietf.jgss.GSSCredential gssCredential,
java.util.Properties properties)
throws java.sql.SQLException
366 Application Programming Guide and Reference for Java
â„¢

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability