For the save() operation to be cascaded, you need to enable CascadeType.SAVE_UPDATE, using the proprietary Hibernate Cascade annotation, since save() is not a standard JPA operation. Or you need to use the persist() method, and not the save() method.
Solution!!!
HTML clipboardGalera, I was having problems with firefox, he was fated to save the passwords and personal settings that occurred after I installed the verção Firefox 3.0, I thought that when I install the new version is 3.1, 2.3 ... the problem would be solved, and even joined the forum google trying to find a solution, and there was a guy who said that when the delete folder of files lost all their personal profile, the firefox again to save the password, well, I found a simpler solution, in fact responsible for the file was just a bug and there was a need to sacrifice my entire profile that took years to get ready, only to get saved passwords, so you follow the simple tute: