Modifier and Type | Method and Description |
---|---|
static String |
getTypeName(Integer typeCode)
Get the type name as in the static field names defined on
Types . |
static boolean |
isStandardTypeCode(int typeCode)
Determine whether the given JDBC type code represents a standard JDBC type ("standard" being those defined on
Types ). |
static boolean |
isStandardTypeCode(Integer typeCode)
Same as call to
isStandardTypeCode(int) |
public static boolean isStandardTypeCode(int typeCode)
Types
).
NOTE : Types.OTHER
is also "filtered out" as being non-standard.typeCode
- The JDBC type code to checktrue
to indicate the type code is a standard type code; false
otherwise.public static boolean isStandardTypeCode(Integer typeCode)
isStandardTypeCode(int)
isStandardTypeCode(int)
public static String getTypeName(Integer typeCode)
Types
. If a type code is not
recognized, it is reported as UNKNOWN(?)
where '?' is replace with the given type code.
Intended as useful for logging purposes...typeCode
- The type code to find the name for.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.