@Formula, @Filter and @SQLRestriction in Hibernate 7: Computed and Filtered Data
What @Formula, @SQLRestriction and @Filter actually add to the SQL in Hibernate 7.4.17, shown with captured SQL: formula staleness and the unqualified-column trap, the filter that skips find-by-id and collections, applyToLoadByKey, an autoEnabled tenant filter that leaks, and the removed @Where.