摘要:
翻译过来就是“(可选)必须级联到关联目标的操作,默认情况下,没有级联操作。” 就是实体A进行变更时,与之关联的实体B也要进行更新 这个东西部能乱配置,否则会出问题的,比方说在单向的many to one 关系中,如果在many方配置了 cascade="save-update,persist",当我 阅读全文
摘要:
异常提示org.springframework.orm.hibernate4.HibernateSystemException: identifier of an instance of com.mi.domain.Department was altered from 2 to 1; nested 阅读全文
摘要:
异常 Unable to instantiate Action, employeAction, defined for 'employe' in namespace '/'employeAction 解决办法:检查struts2的配置文件strut.xml中定义的action名称和请求URL中的ac 阅读全文
摘要:
转载自https://www.cnblogs.com/dixinyunpan/p/6004991.html 【异常提示】 TransientObjectException: object references an unsaved transient instance -save the trans 阅读全文