Skip Headers

# Predefined BMP Finders

Previous

Next

Table: Predefined BMP Finders lists the predefined finders you can use if you extend your BMP EJB from `oracle.toplink.ejb.bmp.BMPEntityBase` (see "Understanding the EJB Entity Beans With BMP Architecture").

The TopLink runtime reserves the method names listed in Table: Predefined BMP Finders.

Predefined BMP Finders

Method | Arguments | Return
--- | --- | ---
`findAll` | `()``(Call)``(Expression)``(ReadAllQuery)` | `Enumeration`
`findAllByNamedQuery` | `(String` `queryName`, `Vector` `arguments`) | `Enumeration`
`findByPrimaryKey` | `(Object` `primaryKeyObject`) | `Object`
`findOne` | `(Call`) `(Expression`) `(ReadObjectQuery`) | `Object`
`findOneByNamedQuery` | `(String queryName`, `Vector arguments`) | `Object`

For more information about using EJB finders, see "Using EJB Finders".