JFinal 的 GeneratorDemo 在生成 SQL Server 出错请大神帮我看一下

misterji 发布于 2016/01/16 00:39
阅读 413
收藏 0

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)



加载中
返回顶部
顶部