@InternalApi public final class TypeMetadata extends java.lang.Object
DatabaseMetaData
.Modifier and Type | Method and Description |
---|---|
static int |
getDataType(int sqlType,
int sqlSubType,
int sqlScale,
int characterSetId)
Derives the JDBC data type from
Types or JaybirdTypeCodes from metadata information. |
static java.lang.String |
getDataTypeName(int sqlType,
int sqlSubType,
int sqlScale)
Derives the JDBC/SQL type name from metadata information.
|
public static int getDataType(int sqlType, int sqlSubType, int sqlScale, int characterSetId)
Types
or JaybirdTypeCodes
from metadata information.sqlType
- Firebird type code as used in the metadata tablessqlSubType
- Firebird subtype code as used in the metadata tablessqlScale
- Firebird scale as used in the metadata tablescharacterSetId
- Character set id as used in the metadata tablespublic static java.lang.String getDataTypeName(int sqlType, int sqlSubType, int sqlScale)
sqlType
- Firebird type code as used in the metadata tablessqlSubType
- Firebird subtype code as used in the metadata tablessqlScale
- Firebird scale as used in the metadata tablesCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.