Resolve Members tab showing empty due to Hibernate TYPE() base-class issue

FixSecurityService
Shipped
April 20, 2026 at 7:25 AM UTC
Author
Kamo
Commit
95f49e9

Hibernate's TYPE(m) = :type JPQL filter returns 0 results when the bound parameter is the base Member class (JOINED inheritance). This affects the members-subscribers endpoint. Replaced with findByOrganizationId() + instanceof TeamMember filter in Java, which correctly returns base Members. Also reverts temporary SQL debug logging.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing