Recently I upgraded to Hibernate 6.x version in my springboot project and
earlier I defined same filter in three entity class @FilterDef
but now it is throwing an error that Mulitiple @FilterDef
annotation defines a filter name.
Can anyone let me know how to defined it globally at one place and reuse it with code example?