Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.563 :

Posted: Sat May 28, 2011 3:24 pm
by jszczepankiewicz
in the question there is: "(...)When the user checksout or empties the cart(...)"
should be:
"When the user checks out or empties the cart"

Re: About Question enthuware.oce-ejbd.v6.2.563 :

Posted: Sun May 29, 2011 4:29 pm
by admin
This has been updated.

Thanks for your feedback!

Re: About Question enthuware.oce-ejbd.v6.2.563 :

Posted: Sun May 10, 2015 4:11 pm
by himaiMinh
I may not fully understand the explanation :
Removing entries in ejbRemove() will not help in clearing abandoned rows because ejbRemove() is not guaranteed to be executed in all cases.
I think the question is asking what happens when the EJB container crash or when system exception is thrown. When these cases happens, @Remove / @PreDestroy method is not called and old table entries will not be cleared.

So, the bean provider should clean up the table periodically.

Re: About Question enthuware.oce-ejbd.v6.2.563 :

Posted: Sun May 10, 2015 7:49 pm
by admin
Yes, that is correct.