Commit b63329c1 by 朱瑞泽

增加提示

parent 40cd5708
...@@ -20,6 +20,9 @@ public class GeneratorStartUp { ...@@ -20,6 +20,9 @@ public class GeneratorStartUp {
DefaultShellCallback callback = new DefaultShellCallback(true); DefaultShellCallback callback = new DefaultShellCallback(true);
MyBatisGenerator myBatisGenerator = new MyBatisGenerator(config, callback, warnings); MyBatisGenerator myBatisGenerator = new MyBatisGenerator(config, callback, warnings);
myBatisGenerator.generate(null); myBatisGenerator.generate(null);
for (String warning : warnings) {
System.out.println(warning);
}
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment