[jboss-dev-forums] [EJB3 Development] - Re: Entity hashCode and equals overriding

fabio valsecchi do-not-reply at jboss.com
Sat Jan 5 11:55:43 EST 2013


fabio valsecchi [https://community.jboss.org/people/fabiovalse] created the discussion

"Re: Entity hashCode and equals overriding"

To view the discussion, visit: https://community.jboss.org/message/787900#787900

--------------------------------------------------------------
Yes, now in my application I can persist books and retrieve them. The problem is when the addArticle() is executed. 

In fact since

Integer *currentQuantity* = cart.getArticles().get(book);

return always null then the book is added on the database but as a different record.

Thank you!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/787900#787900]

Start a new discussion in EJB3 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130105/49635108/attachment.html 


More information about the jboss-dev-forums mailing list