Set applicationContext. xml in the configuration file as follows :? Xmlversion1.0encodingUTF-8? Beansxmlnswww. springframework. orgschemabeansxmlns: xsiwww. w3.org2001XMLSchema-instancexsi: schemaLocationwww. springframework. orgsc
Set applicationContext. xml in the configuration file as follows :? 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
Set applicationContext. xml in the configuration file as follows:
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