| Modifier and Type | Field and Description |
|---|---|
protected Connection |
connection_ |
protected boolean |
containsSqlcax_ |
protected long |
rowsetRowCount_ |
protected int |
sqlCode_ |
protected int[] |
sqlErrd_ |
protected byte[] |
sqlErrmcBytes_ |
protected int |
sqlErrmcCcsid_ |
protected String[] |
sqlErrmcMessages_
Array of errmc strings for each message in the chain.
|
protected String |
sqlErrp_ |
protected byte[] |
sqlErrpBytes_ |
protected String |
sqlState_ |
protected char[] |
sqlWarn_ |
protected byte[] |
sqlWarnBytes_ |
| Modifier | Constructor and Description |
|---|---|
protected |
Sqlca(Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
bytes2String(byte[] bytes,
int offset,
int length) |
boolean |
containsSqlcax() |
long |
getRowCount() |
long |
getRowsetRowCount() |
int |
getSqlCode() |
int[] |
getSqlErrd() |
String |
getSqlErrmc() |
String |
getSqlErrp() |
String |
getSqlState() |
char[] |
getSqlWarn() |
int |
getUpdateCount() |
boolean |
includesSqlCode(int[] codes) |
void |
resetRowsetSqlca(Connection connection,
int sqlCode,
String sqlState,
byte[] sqlErrpBytes) |
void |
setContainsSqlcax(boolean containsSqlcax) |
void |
setRowsetRowCount(long rowCount) |
protected transient Connection connection_
protected int sqlCode_
protected String[] sqlErrmcMessages_
protected String sqlErrp_
protected int[] sqlErrd_
protected char[] sqlWarn_
protected String sqlState_
protected byte[] sqlErrmcBytes_
protected byte[] sqlErrpBytes_
protected byte[] sqlWarnBytes_
protected int sqlErrmcCcsid_
protected boolean containsSqlcax_
protected long rowsetRowCount_
protected Sqlca(Connection connection)
public int getSqlCode()
public String getSqlErrmc()
public String getSqlErrp()
public int[] getSqlErrd()
public char[] getSqlWarn()
public String getSqlState()
public boolean includesSqlCode(int[] codes)
protected String bytes2String(byte[] bytes, int offset, int length) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic int getUpdateCount()
public long getRowCount()
throws DisconnectException
DisconnectExceptionpublic void setContainsSqlcax(boolean containsSqlcax)
public boolean containsSqlcax()
public void resetRowsetSqlca(Connection connection, int sqlCode, String sqlState, byte[] sqlErrpBytes)
public void setRowsetRowCount(long rowCount)
public long getRowsetRowCount()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.