aspose file tools*
The moose likes JDBC and the fly likes Can i use preparestatement's addBatch()  to batch exec multiple sql statements? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Can i use preparestatement Watch "Can i use preparestatement New topic
Author

Can i use preparestatement's addBatch() to batch exec multiple sql statements?

Yunnan Zhou
Ranch Hand

Joined: May 04, 2011
Posts: 31


can i use it like this codes?
how to use it . please help me?


I'am a Chinese.I like Java.Hello.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

have you tried?

Is this works ? OR you getting any error ?

Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Yunnan Zhou
Ranch Hand

Joined: May 04, 2011
Posts: 31

Thanks .
I have made it.
just like
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can i use preparestatement's addBatch() to batch exec multiple sql statements?