jQuery in Action, 2nd edition*
The moose likes JDBC and the fly likes How to define CASCADE DELETE and CASECADE UPDATE? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to define CASCADE DELETE and CASECADE UPDATE?" Watch "How to define CASCADE DELETE and CASECADE UPDATE?" New topic
Author

How to define CASCADE DELETE and CASECADE UPDATE?

Clara Hall
Greenhorn

Joined: Nov 24, 2001
Posts: 16
How to define CASCADE DELETE and CASECADE UPDATE?
I tried to use ON DELETE CASCADE ON UPDATE CASCADE after the foreign key constrain, but it doesn't work, I also tried some other format which I can imaging, but none of them works.
Thanks.
Clara
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Well, for a start, what database are you using?
- Peter
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to define CASCADE DELETE and CASECADE UPDATE?
 
Similar Threads
"Cascade=delete" issue in many-to-one tag.
Syntax error for Access Database
One-to-many mapping using SET
ON UPDATE RESTRICT in cascade?
DB2 : about the CASCADE update/delete