This content has been marked as final.
Show 2 replies
-
1. Re: ejbActivate not executed
darranl Oct 18, 2005 12:11 PM (in response to renkrad)You should have a look at the EJB2.0 specification.
Section 12.1.3 shows the lifecycle for bean managed persistence entity beans.
The container is only required to call ejbActivate() if the bean is being taken from the pooled state to the ready state. If the bean is already in the ready state and is assigned an entity object identity this transition is not required.
The container may still call ejbLoad and ejbStore for the data to be synchronized with the database. -
2. Re: ejbActivate not executed
renkrad Oct 18, 2005 12:23 PM (in response to renkrad)Ups your correct.
Forgot to implement the ejbPostCreate.
Thanx