Top Fields Constructors Methods
org.apache.derby.client.am

public Class SqlCode

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private int
pack-priv static final SqlCode
public static final SqlCode
END_OF_DATA

SQL code for SQL state 02000 (end of data).

public static final SqlCode

Constructor Summary

AccessConstructor and Description
pack-priv
SqlCode(int code)

Method Summary

Modifier and TypeMethod and Description
public final int

Returns:

an SQL code
getCode
()

Return the SQL code represented by this instance.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

code_back to summary
private int code_
disconnectErrorback to summary
pack-priv static final SqlCode disconnectError
END_OF_DATAback to summary
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.

queuedXAErrorback to summary
public static final SqlCode queuedXAError

Constructor Detail

SqlCodeback to summary
pack-priv SqlCode(int code)

Method Detail

getCodeback to summary
public final int getCode()

Return the SQL code represented by this instance.

Returns:int

an SQL code