Andrea Boriero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMGQ3M2U4MTAz...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16581?atlOrigin=eyJpIjoiMGQ3M2...
) HHH-16581 (
https://hibernate.atlassian.net/browse/HHH-16581?atlOrigin=eyJpIjoiMGQ3M2...
) in 6.2 I start getting Multiple '@FilterDef' annotations define a filter named
error on startup (
https://hibernate.atlassian.net/browse/HHH-16581?atlOrigin=eyJpIjoiMGQ3M2...
)
Change By: Andrea Boriero (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Environment: Seems there is a change that breaks backward compatibility...
I have some entity classes preprocessing that dynamically adds filter defs annotation
based on some conditions
So it can happen that entity A will have filterDefs filterA and FilterB and entity B will
have filterDef filterA
It was working in hibernate version 3-5 and in 6.1.7 in 6.2.2 it gives me an error.
Can you please revert that condition or outline a context for filterDefs is it
class(seems not), package, persistent unit ? I have 4 persistent units.. and a single
instance of class transformer that intercepts class loading and it doesn't know
anything about persistent unit that class belongs :(
And maybe update docs as I didn't find any information about this requirement and some
motivation of why it was added
(
https://hibernate.atlassian.net/browse/HHH-16581#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16581#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#100226- sha1:c25eebb )