java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9886c8d2bdd11d13d67f69ddff2231612edfaf25 Author: Marcelo Moreira de Mello mmello@redhat.com Date: Mon Jul 25 17:19:34 2011 -0300
725555 - fix typo for test in c.size() to match the logging message
diff --git a/java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java b/java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java index d9f48ec..c1fed0e 100644 --- a/java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java +++ b/java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java @@ -132,7 +132,7 @@ public abstract class HibernateFactory { Map.Entry entry = (Map.Entry) itr.next(); if (entry.getValue() instanceof Collection) { Collection c = (Collection) entry.getValue(); - if (c.size() > 100) { + if (c.size() > 1000) { LOG.error("Query executed with Collection larger than 1000"); } query.setParameterList((String) entry.getKey(), c);
commit 682ff30e4d06d4e3f8125465a2cb1c697689395d Author: Marcelo Moreira de Mello mmello@redhat.com Date: Mon Jul 25 17:10:14 2011 -0300
Fixed typo at Query bindParameters()
diff --git a/java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java b/java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java index addb07d..d9f48ec 100644 --- a/java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java +++ b/java/code/src/com/redhat/rhn/common/hibernate/HibernateFactory.java @@ -133,7 +133,7 @@ public abstract class HibernateFactory { if (entry.getValue() instanceof Collection) { Collection c = (Collection) entry.getValue(); if (c.size() > 100) { - LOG.error("Query exectued with Collection larger than 1000"); + LOG.error("Query executed with Collection larger than 1000"); } query.setParameterList((String) entry.getKey(), c); }
spacewalk-commits@lists.fedorahosted.org