[hibernate-issues] [JIRA] (HHH-13909) Throw an exception if a final entity class is explicitly mapped as lazy

Gail Badner (JIRA) jira at hibernate.atlassian.net
Wed Mar 25 21:16:27 EDT 2020


Gail Badner ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aabbef6b0-cce3-4556-9748-b721becb9c9a ) *updated* an issue

Hibernate ORM ( https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiZDUzM2IyNzYzMjBiNGYzNGI5NTk0Zjg2NTUwNDhlYWEiLCJwIjoiaiJ9 ) / Bug ( https://hibernate.atlassian.net/browse/HHH-13909?atlOrigin=eyJpIjoiZDUzM2IyNzYzMjBiNGYzNGI5NTk0Zjg2NTUwNDhlYWEiLCJwIjoiaiJ9 ) HHH-13909 ( https://hibernate.atlassian.net/browse/HHH-13909?atlOrigin=eyJpIjoiZDUzM2IyNzYzMjBiNGYzNGI5NTk0Zjg2NTUwNDhlYWEiLCJwIjoiaiJ9 ) Throw an exception if a final entity class is explicitly mapped as lazy ( https://hibernate.atlassian.net/browse/HHH-13909?atlOrigin=eyJpIjoiZDUzM2IyNzYzMjBiNGYzNGI5NTk0Zjg2NTUwNDhlYWEiLCJwIjoiaiJ9 )

Change By: Gail Badner ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aabbef6b0-cce3-4556-9748-b721becb9c9a )

When an entity class is  {{ final }}  and is mapped as lazy (e.g., using  {{ @Proxy }}  ) , then an exception should be thrown.

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

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#100122- sha1:092c6a7 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200326/6b1abd4a/attachment.html 


More information about the hibernate-issues mailing list