This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Hi there, I'm new with persistence, and I'm having a problem updating an object which has a chlid object referenced by a OneToOne relation. When I update the child properties a new row is added into the table, while I'd like just udpate the existing one.
On my session bean I call the merge method on the user instance. Any suggestions?