/
Parameterized SQL Statements

Parameterized SQL Statements

Example:

String selectStatement = “SELECT account_balance FROM user_data WHERE user_name = ? “; PreparedStatement prepStmt = con.prepareStatement(selectStatement); prepStmt.setString(1, request.getParameter(“customerName”)); ResultSet rs = prepStmt.executeQuery();

Related content

Top Vulnerabilities in Java Web Applications
Top Vulnerabilities in Java Web Applications
More like this
Reporting Module Parameters
Reporting Module Parameters
More like this
DHISreport Module 2.0 - Integration with Reporting Module
DHISreport Module 2.0 - Integration with Reporting Module
More like this
Module Hibernate Mapping Files
Module Hibernate Mapping Files
More like this
DHIS2Report SQL Query Enhancements
DHIS2Report SQL Query Enhancements
More like this
User
More like this