阅读背景:

Hibernate如何创建具体类的代理?

来源:互联网 

To the best of my knowledge, creating a dynamic Java proxy requires that one have an interface to work against for the proxy. Yet, Hibernate seems to manage its dynamic proxy generation without requiring that one write interfaces for entity classes. How does it do this? The only clue from the Hibernate documentation refers to the fact that classes must have at minimum a package-visible constructor for proxy generation.To the best of my knowledge, creating a dynamic




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: