If you are migrating
an application to a pureQuery data
access layer, you can generate code from that application's
SQL queries, update statements, and CALL statements.
Annotated-method interfaces that are generated from SQL statements
When you generate code from a single SQL statement, you
can select whether to generate an interface that declares a method
that is annotated with that statement. When you generate code from
multiple SQL statements, the workbench always generates an annotated-method
interface, which declares a method for each statement.
Generating pureQuery code from single SQL statements
You can generate pureQuery code from a single SQL statement.
The statement can be an SQL string in Java code,
an SQL script that contains a single SQL statement, or part of an
SQL script.