摘要: 1 . cascade方式在父表上update/delete记录时,同步update/delete掉子表的匹配记录 2. set null方式在父表上update/delete记录时,将子表上匹配记录的列设为null要注意子表的外键列不能为not null 3. No action方式如果子表中有匹 阅读全文
posted @ 2017-05-17 18:32 努力中国 阅读(17999) 评论(0) 推荐(2) 编辑
摘要: 1:springmvc.xml配置要点 一般它主要配置Controller的组件扫描器和视图解析器 下为:springmvc.xml文件 2:applicationContext.xml配置要点(在web.xml文件需要加<listener>) 下为:applicationContext.xml文件 阅读全文
posted @ 2017-05-17 00:05 努力中国 阅读(47091) 评论(2) 推荐(6) 编辑