[hibernate-dev] Still true with Javassist? Any final method prevents Hibernate from creating single-ended association proxies

Emmanuel Bernard emmanuel at hibernate.org
Fri Jul 8 08:02:00 EDT 2011


> So this boils down whether a final method can be intercepted or not. But isn't Javassist capable of doing so?

I imagine you can intercept a final method via bytecode enhancement but we do proxy generation, not bytecode enhancement for many reasons.
(we do have a bytecode enhancement mode but barely anybody uses it, it's more marketing than useful IMO).

BTW do you mind writing a blog on what you've learned?







More information about the hibernate-dev mailing list