看看这些照片-
My problem-when我从供应品中删除记录,从产品中删除记录,但我不打算删除CascadeType.ALL,然后再尝试这个操作,会出现错误
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:无法删除或更新父行:外键约束失败(shop.products、约束FK65gu3e053fcnl70hwq8vp7b2g
php$result = mysql_query("SELECT distinct * from notification=notification.owner_user_id order by notification.time_stamp Desc"); $nfname[]=$row["fname"];