Spring里面如何定义hibernate mapping?
添加hibernate mapping文件到web/WEB-INF目录下的applicationContext.xml文件里面。示例如下:
<property name=”mappingResources”>
<list>
<value>org/appfuse/model/User.hbm.xml</value>
</list>
</property>
Spring里面如何定义hibernate mapping?
添加hibernate mapping文件到web/WEB-INF目录下的applicationContext.xml文件里面。示例如下:
<property name=”mappingResources”>
<list>
<value>org/appfuse/model/User.hbm.xml</value>
</list>
</property>
本文标题:Spring里面如何定义hibernate mapping?
本文链接:https://www.haomeiwen.com/subject/vsnlxctx.html
网友评论