If a stored procedure is known to return at least one result set, procedure queries can be executed just like normal select queries. Of course in addtion to returning data, such procedures can perform any other database operations.
|Currently all procedure queries will return data rows, not DataObjects. If the returned row (Map) contains all the attributes needed to recreate a DataObject, this can be done by calling DataContext.objectFromDataRow().|
Below is an example of creating a ProcedureQuery, initializing its parameters, and processing execution results.