[hibernate-issues] [JIRA] (HHH-13690) Multi-tenancy supporting session factories can not be created

Jane Nicholson (JIRA) jira at hibernate.atlassian.net
Mon Jun 29 05:47:25 EDT 2020


Jane Nicholson ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A3444f890-b241-494b-8235-1e99f26e0ed9 ) *commented* on HHH-13690 ( https://hibernate.atlassian.net/browse/HHH-13690?atlOrigin=eyJpIjoiNDk2MWM5ZDcwM2Y4NGFhNGJhNGMwYjIyY2VlNTdmZDMiLCJwIjoiaiJ9 )

Re: Multi-tenancy supporting session factories can not be created ( https://hibernate.atlassian.net/browse/HHH-13690?atlOrigin=eyJpIjoiNDk2MWM5ZDcwM2Y4NGFhNGJhNGMwYjIyY2VlNTdmZDMiLCJwIjoiaiJ9 )

We’re still waiting for this issue to be fixed. The issue is that if there is no tenant identified by the resolver at the moment of creation of the session factory, the session factory can’t be created, because a model factory is being created and it can’t be without the tenant identifier.

Please switch this to lazy instantiation, if you need a model factory.

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

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#100130- sha1:febe453 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200629/310016d9/attachment.html 


More information about the hibernate-issues mailing list