in the question there is: "(...)When the user checksout or empties the cart(...)"
should be:
"When the user checks out or empties the cart"
About Question enthuware.oce-ejbd.v6.2.563 :
Moderator: admin
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.563 :
This has been updated.
Thanks for your feedback!
Thanks for your feedback!
If you like our products and services, please help us by posting your review here.
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.563 :
I may not fully understand the explanation :
So, the bean provider should clean up the table periodically.
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.Removing entries in ejbRemove() will not help in clearing abandoned rows because ejbRemove() is not guaranteed to be executed in all cases.
So, the bean provider should clean up the table periodically.
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.2.563 :
Yes, that is correct.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 40 guests