# @Filter does not work for find by PK

**URL:** <https://discourse.hibernate.org/t/filter-does-not-work-for-find-by-pk/4453>\
**Category:** Hibernate ORM\
**Created:** [August 4, 2020, 7:46am UTC](https://discourse.hibernate.org/t/filter-does-not-work-for-find-by-pk/4453 "2020-08-04T07:46:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimal](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.hibernate.org/rimal/32/1157_2.png) [@rimal](https://discourse.hibernate.org/u/rimal)\
**Post date:** [August 4, 2020, 7:46am UTC](https://discourse.hibernate.org/t/filter-does-not-work-for-find-by-pk/4453/1 "2020-08-04T07:46:29Z")

</div>

Hi,

My hibernate filters are working fine with queries. But it is not applied if I do a find by PK. Very similar to the issue raised here [https://stackoverflow.com/questions/40469623/hibernate-filter-not-working-in-the-case-of-session-get-but-working-in-the-cas/44150774](https://stackoverflow.com/questions/40469623/hibernate-filter-not-working-in-the-case-of-session-get-but-working-in-the-cas/44150774) .

Is this expected behaviour?
