Use Hibernate LazyInitializer to get actual entity class from proxy

FixSecurityService
Shipped
November 26, 2025 at 7:37 PM UTC
Author
snadjafinia
Commit
81d2b5a

- Access HibernateProxy's LazyInitializer to get persistent class - Check if persistent class is AvatarPhoto or AvatarAvatar Creator - Force initialization using **************** - This should correctly identify avatar type even when it's a proxy

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