提交 1384027d 编写于 作者: zhouweidong's avatar zhouweidong

mysql开启批操作

上级 56bc38d4
...@@ -8,7 +8,7 @@ TARGET=PSSYSAPP ...@@ -8,7 +8,7 @@ TARGET=PSSYSAPP
<#assign redisDataBase = "0" > <#assign redisDataBase = "0" >
<#assign dbUserName="root"> <#assign dbUserName="root">
<#assign dbPassWord="123456"> <#assign dbPassWord="123456">
<#assign dbUrl="jdbc:mysql://127.0.0.1:3306/"+sys.name+"?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true"> <#assign dbUrl="jdbc:mysql://127.0.0.1:3306/"+sys.name+"?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true">
<#assign dbDriver="com.mysql.jdbc.Driver"> <#assign dbDriver="com.mysql.jdbc.Driver">
<#if sysrun?? && sysrun.getPSDevSlnMSDepApp()??> <#if sysrun?? && sysrun.getPSDevSlnMSDepApp()??>
<#assign depApp=sysrun.getPSDevSlnMSDepApp()> <#assign depApp=sysrun.getPSDevSlnMSDepApp()>
...@@ -46,6 +46,7 @@ TARGET=PSSYSAPP ...@@ -46,6 +46,7 @@ TARGET=PSSYSAPP
<#assign dbUrl=sysRunDBInst.getConnUrl()> <#assign dbUrl=sysRunDBInst.getConnUrl()>
<#if (sysRunDBInst.getDBType()=='MYSQL5')> <#if (sysRunDBInst.getDBType()=='MYSQL5')>
<#assign dbDriver="com.mysql.jdbc.Driver"> <#assign dbDriver="com.mysql.jdbc.Driver">
<#assign dbUrl=dbUrl+"&allowMultiQueries=true">
<#elseif (sysRunDBInst.getDBType()=='DB2')> <#elseif (sysRunDBInst.getDBType()=='DB2')>
<#assign dbDriver="com.ibm.db2.jcc.DB2Driver"> <#assign dbDriver="com.ibm.db2.jcc.DB2Driver">
<#elseif (sysRunDBInst.getDBType()=='ORACLE')> <#elseif (sysRunDBInst.getDBType()=='ORACLE')>
......
...@@ -8,7 +8,7 @@ TARGET=PSSYSSERVICEAPI ...@@ -8,7 +8,7 @@ TARGET=PSSYSSERVICEAPI
<#assign redisDataBase = "0" > <#assign redisDataBase = "0" >
<#assign dbUserName="root"> <#assign dbUserName="root">
<#assign dbPassWord="123456"> <#assign dbPassWord="123456">
<#assign dbUrl="jdbc:mysql://127.0.0.1:3306/"+sys.name+"?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true"> <#assign dbUrl="jdbc:mysql://127.0.0.1:3306/"+sys.name+"?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true">
<#assign dbDriver="com.mysql.jdbc.Driver"> <#assign dbDriver="com.mysql.jdbc.Driver">
<#if sysrun?? && sysrun.getPSDevSlnMSDepAPI()?? > <#if sysrun?? && sysrun.getPSDevSlnMSDepAPI()?? >
<#assign depSysApi=sysrun.getPSDevSlnMSDepAPI()> <#assign depSysApi=sysrun.getPSDevSlnMSDepAPI()>
...@@ -46,6 +46,7 @@ TARGET=PSSYSSERVICEAPI ...@@ -46,6 +46,7 @@ TARGET=PSSYSSERVICEAPI
<#assign dbUrl=sysRunDBInst.getConnUrl()> <#assign dbUrl=sysRunDBInst.getConnUrl()>
<#if (sysRunDBInst.getDBType()=='MYSQL5')> <#if (sysRunDBInst.getDBType()=='MYSQL5')>
<#assign dbDriver="com.mysql.jdbc.Driver"> <#assign dbDriver="com.mysql.jdbc.Driver">
<#assign dbUrl=dbUrl+"&allowMultiQueries=true">
<#elseif (sysRunDBInst.getDBType()=='DB2')> <#elseif (sysRunDBInst.getDBType()=='DB2')>
<#assign dbDriver="com.ibm.db2.jcc.DB2Driver"> <#assign dbDriver="com.ibm.db2.jcc.DB2Driver">
<#elseif (sysRunDBInst.getDBType()=='ORACLE')> <#elseif (sysRunDBInst.getDBType()=='ORACLE')>
......
...@@ -7,7 +7,7 @@ TARGET=PSSYSTEM ...@@ -7,7 +7,7 @@ TARGET=PSSYSTEM
<#assign redisDataBase = "0" > <#assign redisDataBase = "0" >
<#assign dbUserName="root"> <#assign dbUserName="root">
<#assign dbPassWord="root"> <#assign dbPassWord="root">
<#assign dbUrl="jdbc:mysql://127.0.0.1:3306/"+sys.name+"?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true"> <#assign dbUrl="jdbc:mysql://127.0.0.1:3306/"+sys.name+"?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true">
<#assign dbDriver="com.mysql.jdbc.Driver"> <#assign dbDriver="com.mysql.jdbc.Driver">
<#assign bDynamicDS=false> <#assign bDynamicDS=false>
<#assign bmogo=false> <#assign bmogo=false>
...@@ -134,6 +134,7 @@ TARGET=PSSYSTEM ...@@ -134,6 +134,7 @@ TARGET=PSSYSTEM
<#assign dbUrl=sysRunDBInst.getConnUrl()> <#assign dbUrl=sysRunDBInst.getConnUrl()>
<#if (sysRunDBInst.getDBType()=='MYSQL5')> <#if (sysRunDBInst.getDBType()=='MYSQL5')>
<#assign dbDriver="com.mysql.jdbc.Driver"> <#assign dbDriver="com.mysql.jdbc.Driver">
<#assign dbUrl=dbUrl+"&allowMultiQueries=true">
<#elseif (sysRunDBInst.getDBType()=='DB2')> <#elseif (sysRunDBInst.getDBType()=='DB2')>
<#assign dbDriver="com.ibm.db2.jcc.DB2Driver"> <#assign dbDriver="com.ibm.db2.jcc.DB2Driver">
<#elseif (sysRunDBInst.getDBType()=='ORACLE')> <#elseif (sysRunDBInst.getDBType()=='ORACLE')>
...@@ -156,6 +157,7 @@ TARGET=PSSYSTEM ...@@ -156,6 +157,7 @@ TARGET=PSSYSTEM
<#assign dbUrl=appDBInst.getConnUrl()> <#assign dbUrl=appDBInst.getConnUrl()>
<#if (appDBInst.getDBType()=='MYSQL5')> <#if (appDBInst.getDBType()=='MYSQL5')>
<#assign dbDriver="com.mysql.jdbc.Driver"> <#assign dbDriver="com.mysql.jdbc.Driver">
<#assign dbUrl=dbUrl+"&allowMultiQueries=true">
<#elseif (appDBInst.getDBType()=='DB2')> <#elseif (appDBInst.getDBType()=='DB2')>
<#assign dbDriver="com.ibm.db2.jcc.DB2Driver"> <#assign dbDriver="com.ibm.db2.jcc.DB2Driver">
<#elseif (appDBInst.getDBType()=='ORACLE')> <#elseif (appDBInst.getDBType()=='ORACLE')>
...@@ -181,6 +183,7 @@ TARGET=PSSYSTEM ...@@ -181,6 +183,7 @@ TARGET=PSSYSTEM
<#assign dbUrl=sysApiDBInst.getConnUrl()> <#assign dbUrl=sysApiDBInst.getConnUrl()>
<#if (sysApiDBInst.getDBType()=='MYSQL5')> <#if (sysApiDBInst.getDBType()=='MYSQL5')>
<#assign dbDriver="com.mysql.jdbc.Driver"> <#assign dbDriver="com.mysql.jdbc.Driver">
<#assign dbUrl=dbUrl+"&allowMultiQueries=true">
<#elseif (sysApiDBInst.getDBType()=='DB2')> <#elseif (sysApiDBInst.getDBType()=='DB2')>
<#assign dbDriver="com.ibm.db2.jcc.DB2Driver"> <#assign dbDriver="com.ibm.db2.jcc.DB2Driver">
<#elseif (sysApiDBInst.getDBType()=='ORACLE')> <#elseif (sysApiDBInst.getDBType()=='ORACLE')>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册