Skip to content

Need better documentation on complex parameters in stored procedure calls #1138

Open
@rwf-hcl

Description

@rwf-hcl

The documentation on using complex parameters needs to be more detailed. Full examples, including type handlers would help a lot.

Some specifics to be clarified:

  • When using a map, should the type be map, hashmap, java.util.Map, java.util.HashMap, or anything else?
  • How to implement a type handler for a complex type (a custom type defined in the DB, ie. when using jdbcType=STRUCT and jdbcTypeName=MyDbTypeName).
  • How to handle complex OUT parameters.
  • In this particular example from the documentation, #{middleInitial, mode=OUT, jdbcType=STRUCT, jdbcTypeName=MY_TYPE, resultMap=departmentResultMap}, what does the resultMap have to do with the parameter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationIndicates a changing on documentation(reference or javadoc)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions