wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: How to define CASCADE DELETE and CASECADE UPDATE?
 
Similar Threads
DB2 : about the CASCADE update/delete
One-to-many mapping using SET
"Cascade=delete" issue in many-to-one tag.
Syntax error for Access Database
ON UPDATE RESTRICT in cascade?