注意properties文件的下面这句话!
jdbc.jdbcUrl=jdbc:mysql://localhost:3306/数据库名称?useUnicode=true&characterEncoding=UTF-8
spring配置文件中
<context:property-placeholder location="classpath:*.properties"/>
注意properties文件的下面这句话!
jdbc.jdbcUrl=jdbc:mysql://localhost:3306/数据库名称?useUnicode=true&characterEncoding=UTF-8
spring配置文件中
<context:property-placeholder location="classpath:*.properties"/>