Skip to content
Konstantin Triger edited this page Aug 10, 2019 · 3 revisions

Started in Fundamentals, we continue writing tutorial samples with FluentJPA.

Other basic clauses: SELECT, INSERT, UPDATE

DELETE USING statement

FluentQuery query = FluentJPA.SQL((LinkTmp linkTmp,
                                   Link link) -> {

    DELETE().FROM(link).USING(linkTmp);
    WHERE(link.getId() == linkTmp.getId());
});