We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36f30ff commit 89214f7Copy full SHA for 89214f7
1 file changed
src/main/java/org/owasp/benchmark/helpers/DatabaseHelper.java
@@ -41,6 +41,7 @@ public class DatabaseHelper {
41
new org.owasp.benchmark.helpers.HibernateUtil(true);
42
public static final boolean hideSQLErrors =
43
false; // If we want SQL Exceptions to be suppressed from being displayed to the user of
44
+
45
// the web app.
46
47
static {
@@ -168,7 +169,7 @@ public static java.sql.Connection getSqlConnection() {
168
169
return conn;
170
}
171
- public static void executeSQLCommand(String sql) throws Exception {
172
+ private static void executeSQLCommand(String sql) throws Exception {
173
Statement stmt = getSqlStatement();
174
stmt.executeUpdate(sql);
175
0 commit comments