Question: Why Can’t I Call the SetXXX Method For a CMR-field During EjbCreate?
Answer: This is disallowed by the EJB 2.0 specification because the primary key of the current bean isn’t necessarily known during ejbCreate and it may be needed depending on how the relationship is mapped to the underlying DBMS.
Car-field setters should be called during ejbPostCreate instead of ejbCreate if relationships need to be set up during creation of a bean. (E learning portal)
All Weblogic Interview Questions
Weblogic VideosDuration: 20-25 Hours | Version: 12c, 11g | Admin
- Experienced Faculty
- Real-time Scenarios
- Free Bundle Access
- Course Future Updates
- Sample CV/Resume
- Interview Q&A
- Complimentary Materials