。
SessionFactory 需要Configuration , 而Configuration 需要读hibernate.cfg.xml(默认的,当然也可以指定),而.hbm.xml文件就是配置在hibernate.cfg.xml(<mapping resource=".hbm.xml"/>
不知道我有没有说清楚。
SessionFactory 需要Configuration , 而Configuration 需要读hibernate.cfg.xml(默认的,当然也可以指定),而.hbm.xml文件就是配置在hibernate.cfg.xml(<mapping resource=".hbm.xml"/>
不知道我有没有说清楚。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货