Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

prepared stament for no of users

 
sitaram irrinki
Ranch Hand
Posts: 158
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic