Results 1 to 2 of 2

Thread: SQLInOutParameter?

  1. #1
    Join Date
    Sep 2004
    Posts
    1

    Default SQLInOutParameter?

    Hi,
    I realise I don't strictly need this but is there a way of simulating a sql inout parameter type through spring for convenience?

    Thanks!

    Ross

  2. #2
    Join Date
    Aug 2004
    Posts
    1,104

    Default

    Yes, declare it as an SqlOutParameter and provide a value in the Map used for input parameters. Both in and out parameters are accessed by name from the map, and if there is a value then it is set before the procedure is executed.
    Thomas Risberg
    SpringSource by Pivotal
    http://www.springsource.org

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •