• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Two instances of PreperedStatment

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi ,

Can i create two PreparedStatements in a class? like this



PreparedStatment pst1 = con.prepareStatement(sqlquery1);

PreparedStatment pst2 = con.prepareStatement(sqlquery2);






 
Jan Cumps
Bartender
Posts: 2586
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic