A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Frameworks
»
Spring
Author
Calling Stored Procedures
Vyas Sanzgiri
Ranch Hand
Joined: Jun 16, 2007
Posts: 686
I like...
posted
Aug 29, 2009 09:22:56
0
Invoking a simple stored procedure (more sophisticated stored procedure support is covered later).
http://static.springsource.org/spring/docs/2.5.6/reference/jdbc.html
What is the difference between simple and sophisticated ??
I want to call a stored procedure from my DAO but not wait for it to complete and move on with my further logic. What is the correct way? -
using
call/update
this.jdbcTemplate.update( "call SUPPORT.REFRESH_ACTORS_SUMMARY(?)", new Object[]{Long.valueOf(unionId)});
or
org.springframework.jdbc.object.StoredProcedure;
===Vyas Sanzgiri===
My Blog
I agree. Here's the link:
http://aspose.com/file-tools
subject: Calling Stored Procedures
Similar Threads
Spring Persistance
Calling Stored Procedure from simpleJdbcTemplate
Spring JDBCTemplate procedure
How to handle stored procedures
Spring JDBC Netbeans
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter