In mysql , i created to tables called platform & machine.
- platform ( id int auto_increment, name varchar(20) ); - machine (id int auto_increment, name varchar(20), m_platform references platform.id ); in mysql command line , i delete a platform item which was referenced by items in table machine, surely i will get an error. But when i using jstl <sql:update> to delete the same item in table platform, it was deleted without any errormessage. Why the items can be deleted ? I was confused for a long time. Thank you. =========================================================================== To unsubscribe: mailto lists...@java.sun.com with body: "signoff JSP-INTEREST". For digest: mailto lists...@java.sun.com with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com