读OpenJPA 有感
OPENJPA是apache的顶级项目,JPA一个实现enchanment作用
主要是修改Entinty class的bytecode,来提高OR的性能,属于complie time的aop,hibernate目前是runtime的aop,使用cglib.
目前有两种方法enchance:
reference:http://openjpa.apache.org/builds/1.1.0/apache-openjpa-1.1.0/docs/manual/ref_guide_pc_enhance.html
?