[jboss-user] [EJB 3.0] - Re: Entity relationship and remove operations

kstrunk do-not-reply at jboss.com
Wed Apr 4 13:52:09 EDT 2007


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



More information about the jboss-user mailing list