org.apache.derby.client.am
Class SqlCode
java.lang.Object
org.apache.derby.client.am.SqlCode
public class SqlCode
- extends java.lang.Object
Constructor Summary |
SqlCode(int code)
|
Method Summary |
int |
getCode()
Return the SQL code represented by this instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_
private int code_
invalidCommitOrRollbackUnderXA
public static final SqlCode invalidCommitOrRollbackUnderXA
invalidSetAutoCommitUnderXA
public static final SqlCode invalidSetAutoCommitUnderXA
queuedXAError
public static final SqlCode queuedXAError
disconnectError
public static final SqlCode disconnectError
undefinedError
public static final SqlCode undefinedError
END_OF_DATA
public static final SqlCode END_OF_DATA
- SQL code for SQL state 02000 (end of data). DRDA does not
specify the SQL code for this SQL state, but Derby uses 100.
SqlCode
public SqlCode(int code)
getCode
public final int getCode()
- Return the SQL code represented by this instance.
- Returns:
- an SQL code
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.