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 #370 background imageLoading...
Page #370 background image
getSqlErrmc
Format:
public abstract String getSqlErrmc()
Returns a string that contains the SQLCA SQLERRMC values, delimited with
spaces.
getSqlErrmcTokens
Format:
public abstract String[] getSqlErrmcTokens()
Returns an array, each element of which contains an SQLCA SQLERRMC
token.
getSqlErrp
Format:
public abstract String getSqlErrp()
Returns the SQLCA SQLERRP value.
getSqlState
Format:
public abstract String getSqlState()
Returns the SQLCA SQLSTATE value.
getSqlWarn
Format:
public abstract char[] getSqlWarn()
Returns an array, each element of which contains an SQLCA SQLWARN value.
Related concepts
SQL communication area (SQLCA) (DB2 SQL Reference)
Related tasks
“Handling an SQLException under the IBM Data Server Driver for JDBC and
SQLJ” on page 77
“Handling SQL warnings in an SQLJ application” on page 155
DB2Statement interface
The com.ibm.db2.jcc.DB2Statement interface extends the java.sql.Statement
interface.
DB2Statement implements the java.sql.Wrapper interface.
DB2Statement methods
The following methods are defined only for the IBM Data Server Driver for JDBC
and SQLJ.
getDB2ClientProgramId
Format:
public String getDB2ClientProgramId()
throws java.sql.SQLException
Returns the user-defined client program identifier for the connection, which is
stored on the data source.
354 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