The Unified and Autonomous Development Platform
minor changes to tweak log setting.
robin shinea79beadfe96f
diff --git a/commons.product/src/main/java/com/pmease/commons/product/web/TestPage.java b/commons.product/src/main/java/com/pmease/commons/product/web/TestPage.javaindex d47c804dcd..9a970bfccf 100644--- a/commons.product/src/main/java/com/pmease/commons/product/web/TestPage.java+++ b/commons.product/src/main/java/com/pmease/commons/product/web/TestPage.java@@ -2,11 +2,10 @@ package com.pmease.commons.product.web;import java.util.List;-import org.apache.wicket.ajax.AjaxRequestTarget;-import org.apache.wicket.ajax.markup.html.AjaxLink;import org.apache.wicket.markup.html.WebPage;import org.apache.wicket.markup.html.basic.Label;import org.apache.wicket.markup.html.form.Form;+import org.apache.wicket.markup.html.link.Link;import org.apache.wicket.markup.html.list.ListItem;import org.apache.wicket.markup.html.list.ListView;import org.apache.wicket.markup.html.panel.Panel;@@ -48,13 +47,13 @@ public class TestPage extends WebPage {item.add(new Label("sex", Model.of(u.getSex())));item.add(new Label("nation", Model.of(u.getPassword())));- item.add(new AjaxLink<Void>("edit") {+ item.add(new Link<Void>("edit") {@Override- public void onClick(AjaxRequestTarget target) {+ public void onClick() {Panel panel = (Panel) TestPage.this.get("panel");panel.replaceWith(new Panel2(panel.getId()).setOutputMarkupId(true));- target.add(TestPage.this.get("panel"));+// target.add(TestPage.this.get("panel"));try {Thread.sleep(5000);} catch (InterruptedException e) {diff --git a/commons.product/system/conf/hibernate.properties b/commons.product/system/conf/hibernate.propertiesindex c861694f69..09f0760d8e 100644--- a/commons.product/system/conf/hibernate.properties+++ b/commons.product/system/conf/hibernate.properties@@ -102,7 +102,7 @@ bonecp.maxConnectionsPerPartition=10bonecp.minConnectionsPerPartition=5bonecp.statementsCacheSize=50-hibernate.show_sql=true+hibernate.show_sql=falsehibernate.format_sql=truehibernate.use_sql_comments=truediff --git a/commons.product/system/conf/logback.xml b/commons.product/system/conf/logback.xmlindex 90a706478a..bd330760a8 100644--- a/commons.product/system/conf/logback.xml+++ b/commons.product/system/conf/logback.xml@@ -27,6 +27,7 @@<logger name="org.hibernate.cache.ehcache.AbstractEhcacheRegionFactory" level="ERROR"></logger><logger name="com.jolbox.bonecp.BoneCPConfig" level="WARN" /><logger name="com.sun.jersey" level="WARN" />+ <logger name="org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl" level="ERROR"></logger><root level="INFO"><appender-ref ref="FILE" />