Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of
Clojure in Action
this week in the
JDBC and Relational Databases
A constraints needed to satisfy, how to setup MariaDB?
posted 2 years ago
*customer deleted then order details, complain and maintainence to be deleted
However, where should I define the cascade delete in MariaDB...
Say the 1st one, should I put the cascade delete option in customer or the other tables?
Update, should be in the other tables:
I agree. Here's the link:
Generate Transaction/Sales ID by SerialNo + CustomerID + Sales Person ID + Date
Hibernate - Deleting a parent and it's children
Hibernate : cascade=all behaves like cascade=all,delete-orphan