Package org.sormula.operation

Classes that perform SQL operations such as select, update, insert, delete.

See: Description

Package org.sormula.operation Description

Classes that perform SQL operations such as select, update, insert, delete.

There are three types of operations: select operations, and modifiy operations, All select operations are derived from SelectOperation. Insert, update, and, delete operations are derived from ModifyOperation. For example:

Select all students by type 3 ("byType" is name of Where annotation on Student):

 Database database = ...
 Table<Student> table = database.getTable(Student.class);
 List<Student> selectedList = new ArrayListSelect<Student>(table, "byType").selectAll(3);