[hibernate-commits] Hibernate SVN: r18439 - in core/branches/Branch_3_3_2_GA_CP: cache-jbosscache/src/test/resources and 3 other directories.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Thu Jan 7 14:52:59 EST 2010


Author: stliu
Date: 2010-01-07 14:52:59 -0500 (Thu, 07 Jan 2010)
New Revision: 18439

Modified:
   core/branches/Branch_3_3_2_GA_CP/cache-ehcache/src/test/resources/hibernate.properties
   core/branches/Branch_3_3_2_GA_CP/cache-ehcache/src/test/resources/log4j.properties
   core/branches/Branch_3_3_2_GA_CP/cache-jbosscache/src/test/resources/hibernate.properties
   core/branches/Branch_3_3_2_GA_CP/cache-jbosscache/src/test/resources/log4j.properties
   core/branches/Branch_3_3_2_GA_CP/cache-jbosscache2/src/test/resources/hibernate.properties
   core/branches/Branch_3_3_2_GA_CP/cache-jbosscache2/src/test/resources/log4j.properties
   core/branches/Branch_3_3_2_GA_CP/core/src/test/resources/log4j.properties
   core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/resources/log4j.properties
Log:
JBPAPP-3360 enable show_sql property and update log4j.properties to show some more useful log

Modified: core/branches/Branch_3_3_2_GA_CP/cache-ehcache/src/test/resources/hibernate.properties
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/cache-ehcache/src/test/resources/hibernate.properties	2010-01-07 19:38:34 UTC (rev 18438)
+++ core/branches/Branch_3_3_2_GA_CP/cache-ehcache/src/test/resources/hibernate.properties	2010-01-07 19:52:59 UTC (rev 18439)
@@ -24,6 +24,8 @@
 
 hibernate.format_sql true
 
+hibernate.show_sql true
+
 hibernate.max_fetch_depth 5
 
 hibernate.cache.region_prefix hibernate.test

Modified: core/branches/Branch_3_3_2_GA_CP/cache-ehcache/src/test/resources/log4j.properties
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/cache-ehcache/src/test/resources/log4j.properties	2010-01-07 19:38:34 UTC (rev 18438)
+++ core/branches/Branch_3_3_2_GA_CP/cache-ehcache/src/test/resources/log4j.properties	2010-01-07 19:52:59 UTC (rev 18439)
@@ -1,26 +1,19 @@
 ################################################################################
-# Hibernate, Relational Persistence for Idiomatic Java                         #
+# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.            #
 #                                                                              #
-# Copyright (c) 2007, Red Hat Middleware LLC or third-party contributors as    #
-# indicated by the @author tags or express copyright attribution               #
-# statements applied by the authors.  All third-party contributions are        #
-# distributed under license by Red Hat Middleware LLC.                         #
-#                                                                              #
 # This copyrighted material is made available to anyone wishing to use, modify,#
 # copy, or redistribute it subject to the terms and conditions of the GNU      #
-# Lesser General Public License, as published by the Free Software Foundation. #
+# Lesser General Public License, v. 2.1. This program is distributed in the    #
+# hope that it will be useful, but WITHOUT A WARRANTY; without even the implied#
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. You should have received a   #
+# copy of the GNU Lesser General Public License, v.2.1 along with this         #
+# distribution; if not, write to the Free Software Foundation, Inc.,           #
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.                 #
 #                                                                              #
-# This program is distributed in the hope that it will be useful,              #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
-# for more details.                                                            #
-#                                                                              #
-# You should have received a copy of the GNU Lesser General Public License     #
-# along with this distribution; if not, write to:                              #
-# Free Software Foundation, Inc.                                               #
-# 51 Franklin Street, Fifth Floor                                              #
-# Boston, MA  02110-1301  USA                                                  #
+# Red Hat Author(s): Steve Ebersole                                            #
 ################################################################################
+
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.Target=System.out
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
@@ -29,4 +22,9 @@
 
 log4j.rootLogger=info, stdout
 
-log4j.logger.org.hibernate.test=info
\ No newline at end of file
+log4j.logger.org.hibernate.test=info
+log4j.logger.org.hibernate.tool.hbm2ddl=debug
+log4j.logger.org.hibernate.hql.ast.QueryTranslatorImpl=trace
+log4j.logger.org.hibernate.hql.ast.HqlSqlWalker=trace
+log4j.logger.org.hibernate.hql.ast.SqlGenerator=trace
+log4j.logger.org.hibernate.hql.ast.AST=trace

Modified: core/branches/Branch_3_3_2_GA_CP/cache-jbosscache/src/test/resources/hibernate.properties
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/cache-jbosscache/src/test/resources/hibernate.properties	2010-01-07 19:38:34 UTC (rev 18438)
+++ core/branches/Branch_3_3_2_GA_CP/cache-jbosscache/src/test/resources/hibernate.properties	2010-01-07 19:52:59 UTC (rev 18439)
@@ -24,6 +24,8 @@
 
 hibernate.format_sql true
 
+hibernate.show_sql true
+
 hibernate.max_fetch_depth 5
 
 hibernate.cache.region_prefix hibernate.test

Modified: core/branches/Branch_3_3_2_GA_CP/cache-jbosscache/src/test/resources/log4j.properties
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/cache-jbosscache/src/test/resources/log4j.properties	2010-01-07 19:38:34 UTC (rev 18438)
+++ core/branches/Branch_3_3_2_GA_CP/cache-jbosscache/src/test/resources/log4j.properties	2010-01-07 19:52:59 UTC (rev 18439)
@@ -1,26 +1,19 @@
 ################################################################################
-# Hibernate, Relational Persistence for Idiomatic Java                         #
+# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.            #
 #                                                                              #
-# Copyright (c) 2007, Red Hat Middleware LLC or third-party contributors as    #
-# indicated by the @author tags or express copyright attribution               #
-# statements applied by the authors.  All third-party contributions are        #
-# distributed under license by Red Hat Middleware LLC.                         #
-#                                                                              #
 # This copyrighted material is made available to anyone wishing to use, modify,#
 # copy, or redistribute it subject to the terms and conditions of the GNU      #
-# Lesser General Public License, as published by the Free Software Foundation. #
+# Lesser General Public License, v. 2.1. This program is distributed in the    #
+# hope that it will be useful, but WITHOUT A WARRANTY; without even the implied#
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. You should have received a   #
+# copy of the GNU Lesser General Public License, v.2.1 along with this         #
+# distribution; if not, write to the Free Software Foundation, Inc.,           #
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.                 #
 #                                                                              #
-# This program is distributed in the hope that it will be useful,              #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
-# for more details.                                                            #
-#                                                                              #
-# You should have received a copy of the GNU Lesser General Public License     #
-# along with this distribution; if not, write to:                              #
-# Free Software Foundation, Inc.                                               #
-# 51 Franklin Street, Fifth Floor                                              #
-# Boston, MA  02110-1301  USA                                                  #
+# Red Hat Author(s): Steve Ebersole                                            #
 ################################################################################
+
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.Target=System.out
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
@@ -29,4 +22,9 @@
 
 log4j.rootLogger=info, stdout
 
-log4j.logger.org.hibernate.test=info
\ No newline at end of file
+log4j.logger.org.hibernate.test=info
+log4j.logger.org.hibernate.tool.hbm2ddl=debug
+log4j.logger.org.hibernate.hql.ast.QueryTranslatorImpl=trace
+log4j.logger.org.hibernate.hql.ast.HqlSqlWalker=trace
+log4j.logger.org.hibernate.hql.ast.SqlGenerator=trace
+log4j.logger.org.hibernate.hql.ast.AST=trace

Modified: core/branches/Branch_3_3_2_GA_CP/cache-jbosscache2/src/test/resources/hibernate.properties
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/cache-jbosscache2/src/test/resources/hibernate.properties	2010-01-07 19:38:34 UTC (rev 18438)
+++ core/branches/Branch_3_3_2_GA_CP/cache-jbosscache2/src/test/resources/hibernate.properties	2010-01-07 19:52:59 UTC (rev 18439)
@@ -24,6 +24,8 @@
 
 hibernate.format_sql true
 
+hibernate.show_sql true
+
 hibernate.max_fetch_depth 5
 
 hibernate.cache.region_prefix hibernate.test

Modified: core/branches/Branch_3_3_2_GA_CP/cache-jbosscache2/src/test/resources/log4j.properties
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/cache-jbosscache2/src/test/resources/log4j.properties	2010-01-07 19:38:34 UTC (rev 18438)
+++ core/branches/Branch_3_3_2_GA_CP/cache-jbosscache2/src/test/resources/log4j.properties	2010-01-07 19:52:59 UTC (rev 18439)
@@ -1,38 +1,30 @@
 ################################################################################
-# Hibernate, Relational Persistence for Idiomatic Java                         #
+# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.            #
 #                                                                              #
-# Copyright (c) 2007, Red Hat Middleware LLC or third-party contributors as    #
-# indicated by the @author tags or express copyright attribution               #
-# statements applied by the authors.  All third-party contributions are        #
-# distributed under license by Red Hat Middleware LLC.                         #
-#                                                                              #
 # This copyrighted material is made available to anyone wishing to use, modify,#
 # copy, or redistribute it subject to the terms and conditions of the GNU      #
-# Lesser General Public License, as published by the Free Software Foundation. #
+# Lesser General Public License, v. 2.1. This program is distributed in the    #
+# hope that it will be useful, but WITHOUT A WARRANTY; without even the implied#
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. You should have received a   #
+# copy of the GNU Lesser General Public License, v.2.1 along with this         #
+# distribution; if not, write to the Free Software Foundation, Inc.,           #
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.                 #
 #                                                                              #
-# This program is distributed in the hope that it will be useful,              #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
-# for more details.                                                            #
-#                                                                              #
-# You should have received a copy of the GNU Lesser General Public License     #
-# along with this distribution; if not, write to:                              #
-# Free Software Foundation, Inc.                                               #
-# 51 Franklin Street, Fifth Floor                                              #
-# Boston, MA  02110-1301  USA                                                  #
+# Red Hat Author(s): Steve Ebersole                                            #
 ################################################################################
+
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.Target=System.out
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p [%t] %c{1}:%L - %m%n
+log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
 
 
-log4j.rootLogger=warn, stdout
+log4j.rootLogger=info, stdout
 
 log4j.logger.org.hibernate.test=info
-#log4j.logger.org.jgroups=info
-#log4j.logger.org.jboss.cache=trace
-#log4j.logger.org.jboss.cache.RegionManager=info
-#log4j.logger.org.jboss.cache.lock=info
-#log4j.logger.org.jboss.cache.interceptors.PessimisticLockInterceptor=info
-#log4j.logger.org.jboss.cache.interceptors.UnlockInterceptor=info
+log4j.logger.org.hibernate.tool.hbm2ddl=debug
+log4j.logger.org.hibernate.hql.ast.QueryTranslatorImpl=trace
+log4j.logger.org.hibernate.hql.ast.HqlSqlWalker=trace
+log4j.logger.org.hibernate.hql.ast.SqlGenerator=trace
+log4j.logger.org.hibernate.hql.ast.AST=trace

Modified: core/branches/Branch_3_3_2_GA_CP/core/src/test/resources/log4j.properties
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/core/src/test/resources/log4j.properties	2010-01-07 19:38:34 UTC (rev 18438)
+++ core/branches/Branch_3_3_2_GA_CP/core/src/test/resources/log4j.properties	2010-01-07 19:52:59 UTC (rev 18439)
@@ -1,33 +1,30 @@
-#
-# Hibernate, Relational Persistence for Idiomatic Java
-#
-# Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
-# indicated by the @author tags or express copyright attribution
-# statements applied by the authors.  All third-party contributions are
-# distributed under license by Red Hat Middleware LLC.
-#
-# This copyrighted material is made available to anyone wishing to use, modify,
-# copy, or redistribute it subject to the terms and conditions of the GNU
-# Lesser General Public License, as published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
-# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
-# for more details.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this distribution; if not, write to:
-# Free Software Foundation, Inc.
-# 51 Franklin Street, Fifth Floor
-# Boston, MA  02110-1301  USA
-#
-#
+################################################################################
+# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.            #
+#                                                                              #
+# This copyrighted material is made available to anyone wishing to use, modify,#
+# copy, or redistribute it subject to the terms and conditions of the GNU      #
+# Lesser General Public License, v. 2.1. This program is distributed in the    #
+# hope that it will be useful, but WITHOUT A WARRANTY; without even the implied#
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. You should have received a   #
+# copy of the GNU Lesser General Public License, v.2.1 along with this         #
+# distribution; if not, write to the Free Software Foundation, Inc.,           #
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.                 #
+#                                                                              #
+# Red Hat Author(s): Steve Ebersole                                            #
+################################################################################
+
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.Target=System.out
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
 
+
 log4j.rootLogger=info, stdout
 
 log4j.logger.org.hibernate.test=info
 log4j.logger.org.hibernate.tool.hbm2ddl=debug
+log4j.logger.org.hibernate.hql.ast.QueryTranslatorImpl=trace
+log4j.logger.org.hibernate.hql.ast.HqlSqlWalker=trace
+log4j.logger.org.hibernate.hql.ast.SqlGenerator=trace
+log4j.logger.org.hibernate.hql.ast.AST=trace

Modified: core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/resources/log4j.properties
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/resources/log4j.properties	2010-01-07 19:38:34 UTC (rev 18438)
+++ core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/resources/log4j.properties	2010-01-07 19:52:59 UTC (rev 18439)
@@ -1,3 +1,19 @@
+################################################################################
+# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.            #
+#                                                                              #
+# This copyrighted material is made available to anyone wishing to use, modify,#
+# copy, or redistribute it subject to the terms and conditions of the GNU      #
+# Lesser General Public License, v. 2.1. This program is distributed in the    #
+# hope that it will be useful, but WITHOUT A WARRANTY; without even the implied#
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
+# Lesser General Public License for more details. You should have received a   #
+# copy of the GNU Lesser General Public License, v.2.1 along with this         #
+# distribution; if not, write to the Free Software Foundation, Inc.,           #
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.                 #
+#                                                                              #
+# Red Hat Author(s): Steve Ebersole                                            #
+################################################################################
+
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.Target=System.out
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
@@ -11,4 +27,4 @@
 log4j.logger.org.hibernate.hql.ast.QueryTranslatorImpl=trace
 log4j.logger.org.hibernate.hql.ast.HqlSqlWalker=trace
 log4j.logger.org.hibernate.hql.ast.SqlGenerator=trace
-log4j.logger.org.hibernate.hql.ast.AST=trace
\ No newline at end of file
+log4j.logger.org.hibernate.hql.ast.AST=trace



More information about the hibernate-commits mailing list