Persistent object model
HCL Commerce deals with a large amount of persistent data. There are numerous tables defined in the current database schema. Even with this extensive schema, however, you might need to extend or customize the database schema for your particular business needs.
Beginning with HCL Commerce Version 9, the Java Persistence API (JPA) is the standard in the persistent object layer. EJB entity beans are replaced by JPA object, existing EJB-based access beans are replaced by JPA-based access Beans, and existing 2.x session beans have been replaced with 3.x session beans using JPA annotation, instead of XML, for configuration. The topics in this sections should be understood in the context of the HCL Commerce persistent object model implementation.
Customization considerations
- HCL Commerce supports persistence object extension based on JPA and Access Bean framework. For an example, that demonstrates this support see Tutorial: Customizing the Transaction server using REST and JPA services
- Existing customization based on EJB should be migrated to JPA and 3.x session beans. A tool is provided to scan the source code, identify necessary changes and provide suggestions. For more information, see Migrating IBM Websphere Commerce Version 8 EJB entity beans to Java Persistence API.