摘要:
// configuration hibernate - 获取Hibernate配置对象String configPathByClassPath = "hibernate.cfg.xml";Configuration cfg = new Configuration().configure(configPathByClassPath);// 1.byXmlMapping - *.hbm.xml - 1. Xml 映射方式// add hibernate's mapping file (*.hbm.xml) from programmatically// - 硬编码方式加入 xml映射文件到Hi 阅读全文
posted @ 2011-01-19 23:56
陈文龙
阅读(452)
评论(0)
推荐(0)

浙公网安备 33010602011771号