|
@@ -1,6 +1,19 @@
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
|
|
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd">
|
|
|
<configuration>
|
|
<configuration>
|
|
|
|
|
+ <!--数据源配置-->
|
|
|
|
|
+ <environments default="production">
|
|
|
|
|
+ <environment id="production">
|
|
|
|
|
+ <transactionManager type="JDBC"/>
|
|
|
|
|
+ <!--利用连接池-->
|
|
|
|
|
+ <dataSource type="POOLED">
|
|
|
|
|
+ <property name="driver" value="com.mysql.cj.jdbc.Driver"/>
|
|
|
|
|
+ <property name="url" value="jdbc:mysql://environment-14-20.seec.svc.cluster.local:3306/devcloud?allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false"/>
|
|
|
|
|
+ <property name="username" value="root"/>
|
|
|
|
|
+ <property name="password" value="NJU67mysql"/>
|
|
|
|
|
+ </dataSource>
|
|
|
|
|
+ </environment>
|
|
|
|
|
+ </environments>
|
|
|
|
|
|
|
|
<typeHandlers>
|
|
<typeHandlers>
|
|
|
<!--<typeHandler handler="org.apache.ibatis.type.EnumOrdinalTypeHandler" javaType="cn.seecoder.web.model.enums.Type"/>-->
|
|
<!--<typeHandler handler="org.apache.ibatis.type.EnumOrdinalTypeHandler" javaType="cn.seecoder.web.model.enums.Type"/>-->
|