public final class JdbcTypeConverter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static int |
fromFirebirdToJdbcType(int firebirdType,
int subtype,
int scale)
Converts from the Firebird type, subtype and scale to the JDBC type value from
Types . |
static int |
fromMetaDataToFirebirdType(int metaDataType)
Converts the metadata type value to the Firebird type value (null bit not set).
|
static int |
fromMetaDataToJdbcType(int metaDataType,
int subtype,
int scale)
Converts from the metadata type (as used in the system tables) to JDBC type values from
Types . |
static int |
toJdbcType(FieldDescriptor fieldDescriptor)
Gets the JDBC type value from
Types for the field descriptor. |
public static int toJdbcType(FieldDescriptor fieldDescriptor)
Types
for the field descriptor.fieldDescriptor
- Field descriptorTypes.OTHER
for unknown typespublic static int fromFirebirdToJdbcType(int firebirdType, int subtype, int scale)
Types
.firebirdType
- Firebird type value (from ISCConstants
SQL_*
with or without nullable bit setsubtype
- Subtypescale
- ScaleTypes.OTHER
for unknown typespublic static int fromMetaDataToJdbcType(int metaDataType, int subtype, int scale)
Types
.metaDataType
- Metadata type valuesubtype
- Subtypescale
- ScaleTypes.OTHER
for unknown typespublic static int fromMetaDataToFirebirdType(int metaDataType)
metaDataType
- Metadata type valueCopyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.