[hibernate-issues] [JIRA] (HHH-10881) hibernate.default_batch_fetch_size can create deadlocks
Mirek Sz (JIRA)
jira at hibernate.atlassian.net
Thu May 14 11:52:23 EDT 2020
Mirek Sz ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A2c721931-7279-42a0-b54e-60e9f2aaee1d ) *commented* on HHH-10881 ( https://hibernate.atlassian.net/browse/HHH-10881?atlOrigin=eyJpIjoiYmYwMzI4ZDhhMGRiNGYzMmIyMjgyNGFlMjdhODViYjAiLCJwIjoiaiJ9 )
Re: hibernate.default_batch_fetch_size can create deadlocks ( https://hibernate.atlassian.net/browse/HHH-10881?atlOrigin=eyJpIjoiYmYwMzI4ZDhhMGRiNGYzMmIyMjgyNGFlMjdhODViYjAiLCJwIjoiaiJ9 )
Even in org.hibernate.persister.entity.AbstractEntityPersister.createEntityLoader(LockMode, LoadQueryInfluencers) there is comment about it
protected UniqueEntityLoader createEntityLoader(
LockMode lockMode,
LoadQueryInfluencers loadQueryInfluencers) throws MappingException {
//TODO: disable batch loading if lockMode > READ?
return BatchingEntityLoaderBuilder.getBuilder( getFactory() )
.buildLoader( this , batchSize, lockMode, getFactory(), loadQueryInfluencers );
}
( https://hibernate.atlassian.net/browse/HHH-10881#add-comment?atlOrigin=eyJpIjoiYmYwMzI4ZDhhMGRiNGYzMmIyMjgyNGFlMjdhODViYjAiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-10881#add-comment?atlOrigin=eyJpIjoiYmYwMzI4ZDhhMGRiNGYzMmIyMjgyNGFlMjdhODViYjAiLCJwIjoiaiJ9 )
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#100126- sha1:a719cbc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200514/55bac1db/attachment.html
More information about the hibernate-issues
mailing list