in scala/dbc/datatype
object Factory

object Factory
extends Object
with ScalaObject

Field Summary
final val java_lang_Integer_SIZE: Int
final val java_lang_Long_SIZE: Int

Method Summary
final def bytePrecision(precision: Int, signed: Boolean, safe: Boolean): Int
     Returns the binary precision for an integer field.
final def create(metadata: java.sql.ResultSetMetaData, index: Int): DataType
final def isNullable(metadata: java.sql.ResultSetMetaData, index: Int): Option[Boolean]
     Returns a mullable property formated as a boolean option

Field Detail

java_lang_Integer_SIZE

  final val java_lang_Integer_SIZE: Int

java_lang_Long_SIZE

  final val java_lang_Long_SIZE: Int
Method Detail

isNullable

  final def isNullable(metadata: java.sql.ResultSetMetaData, index: Int): Option[Boolean]
Returns a mullable property formated as a boolean option

bytePrecision

  final def bytePrecision(precision: Int, signed: Boolean, safe: Boolean): Int
Returns the binary precision for an integer field. This should only be used to find precision for integer numbers. It assumes that bytes cannot be used partially (result % 8 = 0).

create

  final def create(metadata: java.sql.ResultSetMetaData, index: Int): DataType