Cayenne User Documentation
Stored Procedures

## Stored Procedures

In addition to mapping database tables and views as entities, Cayenne allows mapping and executing database stored procedures. Just like table structure is described by DbEntities, stored procedures are described by Procedure class. Stored procedures are created using CayenneModeler, and are executed using ProcedureQuery, as described in the following chapters.

### Sections

1. Selecting Objects
2. Executing a Stored Procedure
3. Stored Procedures and Transactions

.
Copyright ©2001-2008 Apache Software Foundation