TypeInfo

class TypeInfo(rs: ResultSet)

Wrapper for results of getTypeInfo

Note that per the documentation SQL_DATA_TYPE, and SQL_DATETIME_SUB are unused and have been left out of this class

Constructors

Link copied to clipboard
fun TypeInfo(rs: ResultSet)

Properties

Link copied to clipboard
val autoIncrement: Boolean

Auto increment

Link copied to clipboard
val caseSensitive: Boolean

Case sensitive

Link copied to clipboard
val createParams: String?

Create params

Link copied to clipboard
val dataType: JDBCType

SQL type, converted to JDBCType

Link copied to clipboard
val fixedPrecisionScale: Boolean

Fixed precision scale

Link copied to clipboard
val isUnsigned: Boolean

Is unsigned

Link copied to clipboard
val literalPrefix: String?

Literal prefix

Link copied to clipboard
val literalSuffix: String?

Literal suffix

Link copied to clipboard
val localTypeName: String?

Local type name

Link copied to clipboard
val maximumScale: Int

Maximum scale

Link copied to clipboard
val minimumScale: Int

Minimum scale

Link copied to clipboard
val name: String

Name

Link copied to clipboard
val nullable: TypeNullable

Nullable, converted to TypeNullable

Link copied to clipboard
val precision: MetadataInt

Precision

Link copied to clipboard
val radix: MetadataInt

Numeric precision radix

Link copied to clipboard
val searchable: TypeSearchable

Searchable, converted to TypeSearchable