Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ustomer(String meno, String priezvisko, int zlava) throws SQLException{ Connection con = null; PreparedStatement pst = null; String url = "jdbc:postgresql://localhost:5432/postgres"; String user = "postgres"; String password = "sql123"; try { con = DriverManager.getConnection(url, user, password); String stm = "INSERT INTO zakaznik( meno, priezvisko,zlava_id) VALUES( ?, ?, ?)"; pst = con.prepareStatement(stm); […]
↧