Piotr Nowicki [
https://community.jboss.org/people/pedrokowalski] created the discussion
"Re: Entity hashCode and equals overriding"
To view the discussion, visit:
https://community.jboss.org/message/787903#787903
--------------------------------------------------------------
Where is the 'cart' variable coming from in your addArticle() method?
Are you in the active transaction?
Is the cart.getArticles() empty or does contain some entries?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/787903#787903]
Start a new discussion in EJB3 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]