com.ibm.pdq.annotation
Annotation Type Call
@Target(value=METHOD)
@Call
annotation. See the
pureQuery Runtime documentation for details on how SQL statements can be specified for annotated methods.
When the pureQuery Generator is invoked for an interface, it generates an implementation class for the interface. The
generated version of a method that is annotated with @Call
executes the specified SQL stored
procedure call. Required Element Summary
Modifier and Type | Required Element and Description |
---|---|
sql
Indicates the SQL stored procedure call to execute when the implemented version of the annotated method is invoked.
|
Required Element Detail
sql
public abstract String sql
CALL THE_STORED_PROCEDURE(parameter1, parameter2)
? = CALL THE_STORED_PROCEDURE(parameter1, parameter2)