Constants - java.jdbc

  • DATABASE_ERROR_REASON string {ballerinax/java.jdbc}DatabaseError
  • Identifies the issues related to database accessibility, erroneous queries, constraint violations, database resource clean-up, and other similar scenarios.
  • APPLICATION_ERROR_REASON string {ballerinax/java.jdbc}ApplicationError
  • Identifies the errors originating from application-level causes.
  • TYPE_VARCHAR string VARCHAR
  • Small variable-length character string
  • TYPE_CHAR string CHAR
  • Small fixed-length character string
  • TYPE_LONGVARCHAR string LONGVARCHAR
  • Large variable-length character string
  • TYPE_NCHAR string NCHAR
  • Small fixed-length character string with Unicode support
  • TYPE_LONGNVARCHAR string LONGNVARCHAR
  • Large variable-length character string with Unicode support
  • TYPE_NVARCHAR string NVARCHAR
  • Large variable-length character string with Unicode support
  • TYPE_BIT string BIT
  • Single bit value, which can be zero, one, or nil
  • TYPE_BOOLEAN string BOOLEAN
  • Boolean value being either True or false
  • TYPE_TINYINT string TINYINT
  • 8-bit integer value, which may be unsigned or signed
  • TYPE_SMALLINT string SMALLINT
  • 16-bit signed integer value, which may be unsigned or signed
  • TYPE_INTEGER string INTEGER
  • 32-bit signed integer value, which may be unsigned or signed
  • TYPE_BIGINT string BIGINT
  • 64-bit signed integer value, which may be unsigned or signed
  • TYPE_NUMERIC string NUMERIC
  • Fixed-precision and scaled decimal values
  • TYPE_DECIMAL string DECIMAL
  • Fixed-precision and scaled decimal values
  • TYPE_REAL string REAL
  • Single precision floating point number
  • TYPE_FLOAT string FLOAT
  • Double precision floating point number
  • TYPE_DOUBLE string DOUBLE
  • Double precision floating point number
  • TYPE_BINARY string BINARY
  • Small fixed-length binary value
  • TYPE_BLOB string BLOB
  • Large Binary object
  • TYPE_LONGVARBINARY string LONGVARBINARY
  • Large variable-length binary value
  • TYPE_VARBINARY string VARBINARY
  • Small variable-length binary value
  • TYPE_CLOB string CLOB
  • Large Character object
  • TYPE_NCLOB string NCLOB
  • Large Character objects in a multibyte national character set
  • TYPE_DATE string DATE
  • Both DATE and TIME with an additional nanosecond field
  • TYPE_TIME string TIME
  • Both DATE and TIME with an additional nanosecond field
  • TYPE_DATETIME string DATETIME
  • Both DATE and TIME with an additional nanosecond field
  • TYPE_TIMESTAMP string TIMESTAMP
  • Both DATE and TIME with an additional nanosecond field
  • TYPE_ARRAY string ARRAY
  • Composite data value, which consists of zero or more elements of a specified data type
  • TYPE_STRUCT string STRUCT
  • User-defined structured type, which consists of one or more attributes
  • TYPE_REFCURSOR string REFCURSOR
  • Cursor value
  • DIRECTION_IN string IN
  • IN parameters are used to send values to stored procedures
  • DIRECTION_OUT string OUT
  • OUT parameters are used to get values from stored procedures
  • DIRECTION_INOUT string INOUT
  • INOUT parameters are used to both send and get values to/from stored procedures