Code example for SQLiteStatement

Methods: bindLong, clearBindings

0
    } 
 
    /** @inheritdoc */ 
    @Override 
    protected void bindValues(SQLiteStatement stmt, DoubleParticipant entity) {
        stmt.clearBindings();
        stmt.bindLong(1, entity.getIdentifier());
  
        Integer score = entity.getScore();
        if (score != null) {
            stmt.bindLong(2, score);
        } 
  
        Long doubleGameId = entity.getDoubleGameId();
        if (doubleGameId != null) {
            stmt.bindLong(3, doubleGameId);
        } 
  
        Long pbinomeId = entity.getPbinomeId();
        if (pbinomeId != null) {
            stmt.bindLong(4, pbinomeId);
        } 
    } 
 
    @Override 
    protected void attachEntity(DoubleParticipant entity) {