With container Managed persistence (CMP) entity beans, the container generates the persistence code as well as managing the persistence logic.
使用容器管理的持久性(Container Managed Persistence, CMP)实体bean时,容器生成持久性代码并管理持久性逻辑。
Container-managed persistence (CMP) entity beans handle all of the persistence semantics automatically, in the container.
容器管理的持久性(CMP)实体bean在容器中自动处理所有持久性语义。
For example, if the mapping attribute of the DataSource object is not set, the data source might not act as the data source in the container-managed persistence (CMP).
例如,如果未设置DataSource对象的mapping属性,则数据源的行为方式不会与容器管理的持久性(CMP)中的数据源相同。
应用推荐