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

  • stored procedure support

    Hi,

    I've seen (in the "Spring in Action" book) an example of using CallableStatementCallback to execute a stored procedure using Spring's JDBC support. This example executes a stored procedure which updates the database. Could someone point me towards an example which queries the database and returns either domain objects (e.g. Person, Student) or a single value (e.g. int, string)?

    Thanks in advance,
    DM

  • #2
    check this out i think this will work for you.
    http://static.springframework.org/sp...ence/jdbc.html

    Comment


    • #3
      The reference manual has changed a bit since 1.2.x, the new one might also help.
      http://www.springframework.org/docs/...toredProcedure

      Comment

      Working...
      X