Re: database calls in ejbpassivate() of entity bean
Friday, November 22, 2002 09:15 AM
It's ok to update the database in the ejbPassivate(). The specification doesn't anywhere say that you should not use the database calls in the ejbPassivate. But ejbPassivate() is not for that activity. It is called just before your bean is getting passivated, so need to release the resource in the ejbPassivate.