最近在看SSH ,在applicationContext.xml中能通过下面的代码,添加*.hbm.xml文件
<property name="mappingResources">
<list>
<value>com/tree/entity/Tree.hbm.xml</value>
</list>
</property>
,而当Spring有多个applicationContext.xml配置文件时,可通过
<import resource="com/xml/applicationContext- user.xml"/>
导入到主applicationContext.xml,现在问题是,如何在applicationContext-user.xml中配置*.hbm.xml