Posts by FabioFS • 21 points
2 posts
-
0
votes1
answer367
viewsA: Mysql - Foreign key in ON DELETE NO ACTION but runs ON DELETE CASCADE
As far as I could check the Netbeans IDE generates the Database Entity Class automatically and sets the notation "Cascade = Cascadetype.ALL" for all foreign keys. In this way, Hibernate disregards…
-
2
votes1
answer367
viewsQ: Mysql - Foreign key in ON DELETE NO ACTION but runs ON DELETE CASCADE
I’m developing a system using Apache, Hibernate e MySQL. But I’m having a problem during the exclusion of parent entries from a foreign key. The database should prevent deletion, but delete the…