Title: QueryChain
QueryChain, as the name implies, is a Query that is itself a collection of other queries. It simplifies an execution of multiple queries in a single batch. E.g.:
QueryChain query = new QueryChain(); query.addQuery(new SQLTemplate(Project.class, "delete from project")); query.addQuery(new SQLTemplate(Project.class, "delete from person")); query.addQuery(new SQLTemplate(Project.class, "delete from department")); DataContext context = ... context.performNonSelectingQuery(query);