Announcement Announcement Module
Collapse
No announcement yet.
Stored procedure Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stored procedure

    Hi, can someone please point me to some working samples for using hibernatetemplate with a SQL Server stored procedure ? I am using hibernate 3.0.5.

    All I am trying to do is update a flag to "true" in a column. So the return value is just a count of records updated. Am not sure how the hbm file should look like.

    <sql-query name="updateFlag_SP" callable="true">
    <return alias="updtCount" class="integer">
    </return>
    { ? = call updateFlag() }
    </sql-query>

    Can someone please help me ?

    Thanks
Working...
X