The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

thanx for ur reply

Posted by stunning on December 13, 2001 at 8:17 PM

i just want all thr procedures in one transaction and in one connection.now i use execute("exec procedure_name paramater..."),it seems ok.but why can't by using CallableStatement that such as ("{Call procedure_name(?,?)}" ).i also want to know the difference between these 2 ways.the former is easily to be used than the latter,what is the drawback of it or what is the advantage of the latter method?





Replies:
  • Adv & Dis Senthoor December 14, 2001 at 10:06 PM (1)
    • thanx again stunning December 16, 2001 at 8:30 PM (0)

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us