[hibernate-issues] [JIRA] (HHH-13887) Multiple @PostLoad (in @Entity and @MappedSuperclass)
Nathan Xu (JIRA)
jira at hibernate.atlassian.net
Wed Mar 4 14:54:54 EST 2020
Nathan Xu ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Af1c90216-c2ff-4df7-8e20-9d0e140d7f64 ) *commented* on HHH-13887 ( https://hibernate.atlassian.net/browse/HHH-13887?atlOrigin=eyJpIjoiZDc3NmU0NWFiOWQ0NGI5ZWFhNzQxZTk5ZTlmYmY3ZWIiLCJwIjoiaiJ9 )
Re: Multiple @PostLoad (in @Entity and @MappedSuperclass) ( https://hibernate.atlassian.net/browse/HHH-13887?atlOrigin=eyJpIjoiZDc3NmU0NWFiOWQ0NGI5ZWFhNzQxZTk5ZTlmYmY3ZWIiLCJwIjoiaiJ9 )
As per Hibernate User Guide ( https://docs.jboss.org/hibernate/orm/5.4/userguide/html_single/Hibernate_User_Guide.html#events-jpa-callbacks-example ), it seems the expected feature.
( https://hibernate.atlassian.net/secure/attachment/49638/49638_Screen+Shot+2020-03-04+at+2.52.44+PM.png )
If the method name is the same, it means the method is overridden. As per the user guide, super class’s method won’t be invoked.
( https://hibernate.atlassian.net/browse/HHH-13887#add-comment?atlOrigin=eyJpIjoiZDc3NmU0NWFiOWQ0NGI5ZWFhNzQxZTk5ZTlmYmY3ZWIiLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-13887#add-comment?atlOrigin=eyJpIjoiZDc3NmU0NWFiOWQ0NGI5ZWFhNzQxZTk5ZTlmYmY3ZWIiLCJwIjoiaiJ9 )
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#100121- sha1:d2b7993 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200304/3255e0d6/attachment.html
More information about the hibernate-issues
mailing list