Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
クラスがhibernate 4からなくなったことはすでにわかっているので、他の多くの関連インターフェース(など)も変更されJdbcContextたことを考慮して、JdbcContextのregisterSynchronizationIfPossible()メソッドのロジックを置き換えるメカニズムは何なのか疑問に思っています.. TransactionFactory.
JdbcContext
TransactionFactory
を使用しorg.hibernate.engine.transaction.spi.TransactionCoordinator#pulseます。JdbcContext#registerSynchronizationIfPossibleこれは、以前と同じことを直接行う方法です。
org.hibernate.engine.transaction.spi.TransactionCoordinator#pulse
JdbcContext#registerSynchronizationIfPossible