| Author |
PreparedStatement with sql.eachRow()
|
Chetan Parekh
Ranch Hand
Joined: Sep 16, 2004
Posts: 3636
|
|
Following is a code snippet of current implementation:
We want to use PreparedStatement to prevent SQL injection. How to use PreparedStatement with sql.eachRow()?
|
My blood is tested +ve for Java.
|
 |
Gregg Bolinger
Ranch Hand
Joined: Jul 11, 2001
Posts: 15230
|
|
|
According to the API, you can't.
|
 |
 |
|
|
subject: PreparedStatement with sql.eachRow()
|
|
|