Jin Kwon (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiOGNmODk4ODY5...
) / Improvement (
https://hibernate.atlassian.net/browse/HHH-15478?atlOrigin=eyJpIjoiOGNmOD...
) HHH-15478 (
https://hibernate.atlassian.net/browse/HHH-15478?atlOrigin=eyJpIjoiOGNmOD...
) EntityListeners on transitive superclasses (
https://hibernate.atlassian.net/browse/HHH-15478?atlOrigin=eyJpIjoiOGNmOD...
)
Issue Type: Improvement Affects Versions: 5.6.10 Assignee: Unassigned Components:
hibernate-entitymanager Created: 03/Sep/2022 02:20 AM Environment: Apache Maven 3.8.5
(3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home:
/Users/onacit/.m2/wrapper/dists/apache-maven-3.8.5-bin/5i5jha092a3i37g0paqnfr15e0/apache-maven-3.8.5
Java version: 18.0.2.1, vendor: Eclipse Adoptium, runtime:
/Library/Java/JavaVirtualMachines/temurin-18.jdk/Contents/Home
Default locale: en_KR, platform encoding: UTF-8
OS name: "mac os x", version: "12.5", arch: "aarch64",
family: "mac" Priority: Major Reporter: Jin Kwon (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
I have three layers.
@EntityListeners({AuditingEntityListener.class})
@MappedSuperclass
abstract class L1 {
}
//(a)EntityListeners({AuditingEntityListener.class}) // required???
@MappedSuperclass
abstract class L2 extends L1 {
@CreatedDate
private LocalDateTime some;
}
@Entity
class L3 extends L2 {
}
The AuditingEntityListener doesn’t work without @EntityListeners on the second level class
or 3rd level class. Is this normal?
(
https://hibernate.atlassian.net/browse/HHH-15478#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15478#add-comment?atlOrigin=ey...
)
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....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100206- sha1:3ac329d )