Hibernate4运行报错Could not obtain transaction-synchronized Session for current thread

hibernate4不支持你用hibernate3的 getcurrentSession,建议用openSession

posted @ 2017-01-04 15:30  微风吹过jy  阅读(69)  评论(0)    收藏  举报