Hi! I've just altered the table to enable cascading:
| CONSTRAINT fk278c74e4b6f3dc65 FOREIGN KEY (sender) | REFERENCES users (id) MATCH SIMPLE | ON UPDATE NO ACTION ON DELETE CASCADE, | And now deleting users works fine, but why is the schema not created automatically this way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034713#4034713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034713 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user