This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling Stored Procedure from simpleJdbcTemplate

 
Kamil Kuchta
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to use SimpleJdbcTemplate to call stored postgresql procedure. It must be SimpleJdbcTemplate because my test class extends AbstractTransactionalJUnit4SpringContextTests which has simpleJdbcTemplate.

I found this:

http://static.springsource.org/spring/docs/2.0.x/reference/jdbc.html#jdbc-JdbcTemplate-examples
but

doesn't work. Maybe is some detail wrong? Somewhere I met call package.my_function(?) but my function is in no package.

http://www.coderanch.com/t/60690/oa/Calling-Stored-Procedure-jdbcTemplate
doesn't work with simpleJdbcTemplate.
 
Kamil Kuchta
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Answer:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic