[hibernate-dev] Still true with Javassist? Any final method prevents Hibernate from creating single-ended association proxies
Robin Sander
robin.sander at gmx.net
Fri Jul 8 08:29:17 EDT 2011
On 08.07.2011, at 14:02, Emmanuel Bernard wrote:
>
>> 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).
Now _that_ is the point! :-)
>
> BTW do you mind writing a blog on what you've learned?
>
I don't have any blog but I've got an the very same question open at stackoverflow and I will add my conclusion
there as my own answer.
More information about the hibernate-dev
mailing list