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

prepared stament for no of users

 
sitaram irrinki
Ranch Hand
Posts: 158
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If multiple users are given the same Prepared Statement, with
different Connections ( each user has one connection), then how the JDBC
driver handles the Prepared Statement.
 
Lars Vonk
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How is this possible? You call prepareStatement() on your Connection object, this returns a PreparedStatement. So if each user has a different Connection then how can they have the same PreparedStatement?
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic