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

public final Class Utils42

extends Object
Class Inheritance
Imports
java.sql.JDBCType, .SQLException, .SQLType, org.apache.derby.shared.common.reference.SQLState

Utility methods for JDBC 4.2.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static int

Returns:

the corresponding type id
getTypeAsInt
(Agent
The agent
agent
,
SQLType
The SQLType to map
sqlType
)

Get the int type id from java.sql.Types which corresponds to the SQLType.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Utils42back to summary
public Utils42()

Method Detail

getTypeAsIntback to summary
public static int getTypeAsInt(Agent agent, SQLType sqlType) throws SQLException

Get the int type id from java.sql.Types which corresponds to the SQLType.

Parameters
agent:Agent

The agent

sqlType:SQLType

The SQLType to map

Returns:int

the corresponding type id

Exceptions
SQLException:
on error