Skip to content

Delete with executeSingle function may cause NullPointerException #509

@wangzhengyi

Description

@wangzhengyi

If user use
new Delete().from(StudentDAO.class).where("age = 100").executeSingle()

and the student is not exist, this may cause NullPointerException.

I create this PR for this problem. link:#510

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions