From 9eaa1cdc9e07880ebcf4ac0bc342d43387e76829 Mon Sep 17 00:00:00 2001 From: railswu Date: Tue, 11 Sep 2018 20:00:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8D=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java b/src/main/java/com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java index c9d4ded1..6cb28d06 100644 --- a/src/main/java/com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java +++ b/src/main/java/com/zzg/mybatis/generator/bridge/MybatisGeneratorBridge.java @@ -162,7 +162,6 @@ public void generate() throws Exception { context.setId("myid"); context.addTableConfiguration(tableConfig); context.setJdbcConnectionConfiguration(jdbcConfig); - context.setJdbcConnectionConfiguration(jdbcConfig); context.setJavaModelGeneratorConfiguration(modelConfig); context.setSqlMapGeneratorConfiguration(mapperConfig); context.setJavaClientGeneratorConfiguration(daoConfig);