异常:could not obtain transaction-synchronized

    xiaoxiao2021-03-25  107

    could not obtain transaction-synchronized

    原因:配置文件没配好,spring3整合hibernate4时,事务要交给spring管理,才能使用currentSession

    不使用注解情况下,要在spring配置文件中配置自动事务

    转载请注明原文地址: https://ju.6miu.com/read-10578.html

    最新回复(0)