Configuring automatic or EJB CMP persistence  Setting Persistence/General subtab properties

Chapter 27: Creating Entity Components

Specifying the CMP version for EJB 2.0 entity beans

For EJB 2.0 entity beans, choose a CMP version on the General tab in the Component Properties dialog box. Choose 2.0 to match the EJB 2.0 specified behavior. Choose 1.1 to match the EJB 1.1 persistence model. Use 2.0 CMP for new development, and 1.1 for existing beans that have code that requires the 1.1 model.

For EJB 1.1 entity beans, you can not set the CMP version.

Copyright © 2005. Sybase Inc. All rights reserved. Setting Persistence/General subtab properties