Spring / Spring Data Access
How do you prevent SQL Injection in Java Code?
You can use PreparedStatement to avoid SQL injection in Java code. Use of the PreparedStatement for executing SQL queries not only provides better performance but also shield your Java and J2EE application from SQL Injection attack.
More Related questions...