Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mybatisplus.samples.generator中H2CodeGenerationTest生成文件内容为空 #42

Open
kidari opened this issue Oct 24, 2020 · 0 comments

Comments

@kidari
Copy link

kidari commented Oct 24, 2020

操作:通过GeneratorH2Application运行初始化生成D:/mybatisplus.mv文件后
修改H2CodeGenerationTest文件dsc.setUrl("jdbc:p6spy:h2:file:d:/mybatisplus;TRACE_LEVEL_FILE=0;IFEXISTS=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE");
testGetTableNames运行有USER表;generateCode()运行后User.java无字段信息
控制台:SQL Exception:Column "Extra" not found [42122-200]
生成文件:package com.baomidou.mybatisplus.samples.generator.h2.entity;

               /**
              仅演示使用自定义模板
              */
              public class User {
              }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant