JFinal 的 Build TableMeta ... Exception in thread "main" java.lang.RuntimeException: java.sql.SQLException: 对象名 'CHECK_CONSTRAINTS' 无效。 at com.jfinal.plugin.activerecord.generator.MetaBuilder.build(MetaBuilder.java:101) at com.jfinal.plugin.activerecord.generator.Generator.generate(Generator.java:196) at com.demo.common.config.GeneratorDemo.main(GeneratorDemo.java:49) Caused by: java.sql.SQLException: 对象名 'CHECK_CONSTRAINTS' 无效。 at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2820) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2258) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:632) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:477) at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1304) at com.mchange.v2.c3p0.impl.NewProxyStatement.executeQuery(NewProxyStatement.java:35) at com.jfinal.plugin.activerecord.generator.MetaBuilder.buildColumnMetas(MetaBuilder.java:169) at com.jfinal.plugin.activerecord.generator.MetaBuilder.build(MetaBuilder.java:96)
--- 看下这个问答: http://www.oschina.net/question/2276614_2147333######谢谢你的回答
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。