concept procedure in category iBatis

appears as: procedures, procedure, procedure
iBatis in Action

This is an excerpt from Manning's book iBatis in Action.

The first is Data Definition Language (DDL), which includes statements like CREATE, DROP, and ALTER. These statements are used to define the structure and design of the database, including the tables, columns, indexes, constraints, procedures, and foreign key relationships. DDL is not something that iBATIS supports directly. Although many people have successfully executed DDL using iBATIS, DDL is usually owned and controlled by a database administration group and is often beyond the reach of developers.

create or replace procedure maximum
  (a in integer, b in integer, c out integer) as
begin
  if (a > b) then c := a; end if;
  if (b >= a) then c := b; end if;
end;
Listing 8.16. Oracle stored procedure (provided by Sven Boden)