Code example for PreparedStatement

Methods: clearParameters

0
    public boolean execute() throws SQLException { 
        return ps.execute();
    } 
 
    public void reset() throws SQLException { 
        ps.clearParameters();
    } 
 
    public ResultSet executeQuery() throws SQLException {
        return ps.executeQuery();
 
    } 
 
    public int executeUpdate() throws SQLException { 
        return ps.executeUpdate();
 
    } 
 
    public PreparedStatement getPreparedStatement() {
        return ps;
    }