db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r463789 - /db/ojb/trunk/src/java/org/apache/ojb/broker/accesslayer/sql/SqlSubSelectStatement.java
Date Fri, 13 Oct 2006 19:18:10 GMT
Author: arminw
Date: Fri Oct 13 12:18:09 2006
New Revision: 463789

URL: http://svn.apache.org/viewvc?view=rev&rev=463789
Log:
improve log message

Modified:
    db/ojb/trunk/src/java/org/apache/ojb/broker/accesslayer/sql/SqlSubSelectStatement.java

Modified: db/ojb/trunk/src/java/org/apache/ojb/broker/accesslayer/sql/SqlSubSelectStatement.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/java/org/apache/ojb/broker/accesslayer/sql/SqlSubSelectStatement.java?view=diff&rev=463789&r1=463788&r2=463789
==============================================================================
--- db/ojb/trunk/src/java/org/apache/ojb/broker/accesslayer/sql/SqlSubSelectStatement.java
(original)
+++ db/ojb/trunk/src/java/org/apache/ojb/broker/accesslayer/sql/SqlSubSelectStatement.java
Fri Oct 13 12:18:09 2006
@@ -21,6 +21,7 @@
 import org.apache.ojb.broker.util.logging.Logger;
 import org.apache.ojb.broker.metadata.ClassDescriptor;
 import org.apache.ojb.broker.query.Query;
+import org.apache.commons.lang.ClassUtils;
 
 /**
  * Model a SUB-SELECT Statement
@@ -47,8 +48,9 @@
         }
         else
         {
-            getLogger().warn("SubSelect: Use database doesn't support ORDER BY clause " +
-                    "in sub-select, execute sub-select without order by clause");
+            getLogger().warn("SubSelect: Database doesn't support ORDER BY clause " +
+                    "in sub-select, execute sub-select without order by clause. Platform:
"
+                    + ClassUtils.getShortClassName(getPlatform().getClass()));
         }
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message