作者:liaojiawei | 来源:互联网 | 2018-06-01 06:53
在配置文件applicationContext.xml设置如下:?xmlversion1.0encodingUTF-8?beansxmlnswww.springframework.orgschemabeansxmlns:xsiwww.w3.org2001XMLSchema-instancexsi:schemaLocationwww.springframework.orgsc
在配置文件applicationContext.xml设置如下: ?xml version=1.0 encoding=UTF-8? beans xmlns= http://www.springframework.org/schema/beans xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation= http://www.springframework.org/sc
在配置文件applicationContext.xml设置如下:
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beanshttp://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
org.hibernate.dialect.MySQLDialect
true
com/test/bean/User.hbm.xml