File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SimpleJdbcCall vs. StoredProcedure

 
John Lin
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have some questions about the SimpleJdbcCall class which is one of new classes introduced in 2.5.

1) what are the differences between SimpleJdbcCall and SqlCall/StoredProcedure?

2) Is SimpleJdbcCall preferred since it's new in 2.5?

3) Since SqlCall/StoredProcedure are NOT deprecated, I wonder in what situations SqlCall/StoredProcedure are expected to be used instead of SimpleJdbcCall.

4) Are there anything new in 2.5 to SqlQuery/SqlUpdate as SimpleJdbcCall to SqlCall/StoredProcedure?

(I have posted these questions on Spring forum but no one has replied to it yet...)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic