This API documentation is for Ballerina 1.2.0. View API documentation for the latest release.

Record - java.jdbc : Parameter

Represents a parameter for the JDBC Client remote functions when a variable needs to be passed to the remote function.

Closed record


  • sqlType SQLType
  • The data type of the corresponding SQL parameter

  • value anydata (default ())
  • Value of paramter passed into the SQL statement

  • direction Direction (default DIRECTION_IN)
  • Direction of the SQL Parameter IN, OUT, or INOUT - Default value is IN

  • recordType typedesc
  • In case of OUT direction, if the sqlType is REFCURSOR, this represents the record type to map a result row