JFinal 3.0
用Generator自动创建base时, 好像没有把表的 [注释] 信息带过来???? //mysql
用Generator自动创建base时, 如果没有主键好像会报错.
Build TableMeta ... 一月 20, 2017 4:28:37 下午 com.alibaba.druid.pool.DruidDataSource info 信息: {dataSource-1} inited Exception in thread "main" java.lang.RuntimeException: primaryKey required by active record pattern at com.jfinal.plugin.activerecord.generator.MetaBuilder.buildPrimaryKey(MetaBuilder.java:199) at com.jfinal.plugin.activerecord.generator.MetaBuilder.build(MetaBuilder.java:96) at com.jfinal.plugin.activerecord.generator.Generator.generate(Generator.java:217) at app.model._JFinalDemoGenerator.main(_JFinalDemoGenerator.java:52)