Code example for SQLiteStatement

Methods: bindLongbindStringclearBindings

0
    } 
 
    /** @inheritdoc */ 
    @Override 
    protected void bindValues(SQLiteStatement stmt, Rune entity) {
        stmt.clearBindings();
  
        Long id = entity.getId();
        if (id != null) {
            stmt.bindLong(1, id);
        } 
        stmt.bindString(2, entity.getRuneID());
        stmt.bindString(3, entity.getName());
  
        String description = entity.getDescription();
        if (description != null) {
            stmt.bindString(4, description);
        } 
  
        String type = entity.getType();
        if (type != null) {
            stmt.bindString(5, type);
        } 
    } 
 
    /** @inheritdoc */ 
    @Override 
Stop searching for code, let great code find you!  Add Codota to your java IDE