Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to reuse the prepared statement ?  RSS feed

 
Shuang mu
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai,
now i face a big problem is can i reuse the prepared statement? each time i try to reuse it but i fail, all the reference refer to the same data make the update statement cannot be execute,
so please help me to solve this problem......
thanks....
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shuang
Something like this should do it for you:

[ April 01, 2002: Message edited by: Dave Vick ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!