首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

Hibernate源码解析(3)

2012-10-06 
Hibernate源码解析(三)public static final LoadType GET new LoadType(GET).setAllowNulls(true).set

Hibernate源码解析(三)

public static final LoadType GET = new LoadType("GET").setAllowNulls(true).setAllowProxyCreation(false).setCheckDeleted(true).setNakedEntityReturned(false);public static final LoadType LOAD = new LoadType("LOAD").setAllowNulls(false).setAllowProxyCreation(true).setCheckDeleted(true).setNakedEntityReturned(false);

?本文详细介绍了hibernate缓存机制,顺着介绍缓存,从源码角度介绍load与get的实质区别

详细介绍了下面四个参数

nakedEntityReturned;
allowNulls;
checkDeleted;
allowProxyCreation;

?

热点排行