[hibernate-issues] [JIRA] (HHH-5773) Disable registration of AfterTransactionCompletionProcess based on Session CacheMode

Alex CD (JIRA) jira at hibernate.atlassian.net
Thu Jul 2 19:44:27 EDT 2020


Alex CD ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A9b0f6d49-bc76-4aca-875b-c8525b2f039d ) *commented* on HHH-5773 ( https://hibernate.atlassian.net/browse/HHH-5773?atlOrigin=eyJpIjoiMjdkMmM5NzQwMTgwNDZjN2EyYTExNmYyMDI0NTc2OWUiLCJwIjoiaiJ9 )

Re: Disable registration of AfterTransactionCompletionProcess based on Session CacheMode ( https://hibernate.atlassian.net/browse/HHH-5773?atlOrigin=eyJpIjoiMjdkMmM5NzQwMTgwNDZjN2EyYTExNmYyMDI0NTc2OWUiLCJwIjoiaiJ9 )

Still an issue in 5.4.17, session’s *CacheMode* is not used:

       protected boolean needsAfterTransactionCompletion() {
		return persister.canWriteToCache() || hasPostCommitEventListeners();
	}

( https://hibernate.atlassian.net/browse/HHH-5773#add-comment?atlOrigin=eyJpIjoiMjdkMmM5NzQwMTgwNDZjN2EyYTExNmYyMDI0NTc2OWUiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-5773#add-comment?atlOrigin=eyJpIjoiMjdkMmM5NzQwMTgwNDZjN2EyYTExNmYyMDI0NTc2OWUiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100131- sha1:aac02e2 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200702/fcdcd4c8/attachment-0001.html 


More information about the hibernate-issues mailing list