Mybatis error “field ‘ID’ doesn’t have a default value”

SelectKey = SelectKey; SelectKey = SelectKey; SelectKey = SelectKey; SelectKey = SelectKey; SelectKey = SelectKey; SelectKey = SelectKey; SelectKey = SelectKey

   @Insert({"insert into song(name,singer,category,writer,language,issudate)values(#{name},#{singer},#{category},#{writer},#{language},#{issudate})"
    })
    @SelectKey(statement = "select last_insert_id()",before = false, resultType = Integer.class,keyProperty = "id")
    public int insert(Songs songs);
}


Read More: