简体   繁体   English

SessionImplementor是否可以访问Hibernate 5.x中的TransactionManager?

[英]Does SessionImplementor have access to a TransactionManager in Hibernate 5.x?

In Hibernate 3.x you were able to access a TransactionManager like: 在Hibernate 3.x中,您可以像以下方式访问TransactionManager:

sessionImplementor.getFactory().getTransactionManager();

I was wondering if you could do something similar with SessionImplementor in hibernate 5? 我想知道您是否可以在休眠5中使用SessionImplementor做类似的事情? Is there still a way to access TransactionManage? 仍然可以访问TransactionManage吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM