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

Moderator: admin

Post Reply
jszczepankiewicz

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

Post 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"

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

This has been updated.

Thanks for your feedback!
If you like our products and services, please help us by posting your review here.

himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

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

Post 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.

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

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

Post by admin »

Yes, that is correct.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests