beetl jfianl

== Eova 1.2 正式版,Java Web 快速开发平台 ========

http://www.oschina.net/news/63251/eova-1-2

JFinal开发8个常见问题
http://www.linuxidc.com/Linux/2015-02/113421.htm

jFinal怎样连接sqlserver?
http://www.oschina.net/question/130045_73064?fromerr=H0JYq4BZ

JFinal 常见问题
http://www.360doc.com/content/15/0105/20/16002580_438454545.shtml

1.JFinal 返回字段大小写
是因为设置了 大小写不敏感

    // 默认数据源
        {
            // DruidPlugin dp = initDruidPlugin(url, user, pwd);
            C3p0Plugin dps = new C3p0Plugin(PropKit.get("local_url"),
                    PropKit.get("local_user"), PropKit.get("local_pwd").trim());
            // 配置ActiveRecord插件
            ActiveRecordPlugin arps = new ActiveRecordPlugin(dps);
            arps.setDialect(new AnsiSqlDialect());
            // 配置属性名(字段名)大小写不敏感容器工厂
            arps.setContainerFactory(new CaseInsensitiveContainerFactory());

2.jfinal 无法读取 xml 数据流

try {
            while ((inputLine = getRequest().getReader().readLine()) != null) {
                notifyinfo += inputLine;
            }
            getRequest().getReader().close();
        } catch (Exception e) {
            e.printStackTrace();
        }

你可能感兴趣的:(beetl jfianl)