Skip Headers

Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g Release 3 (10.1.3) B14428-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# 8 Using EJB 3.0 Query API

This section describes how to create pre-defined, static queries that you can access at runtime, including:

- Implementing an EJB 3.0 Named Query

- Implementing an EJB 3.0 Dynamic Query

Note: In this release, OC4J supports a subset of the functionality specified in the EJB 3.0 public review draft. You may need to make code changes to your EJB 3.0 OC4J application after the EJB 3.0 specification is finalized and OC4J is updated to full EJB 3.0 compliance. For more information, see "Understanding EJB Support in OC4J". There are no OC4J-proprietary EJB 3.0 annotations. For all OC4J-specific configuration, you must still use the EJB 2.1 `orion-ejb-jar.xml` file.

For more information, see "How Do You Query for an EJB 3.0 Entity?".