• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PreparedStatement with sql.eachRow()

 
Chetan Parekh
Ranch Hand
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following is a code snippet of current implementation:


We want to use PreparedStatement to prevent SQL injection. How to use PreparedStatement with sql.eachRow()?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the API, you can't.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic