db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r521164 - /db/ojb/trunk/src/test/org/apache/ojb/broker/QueryTest.java
Date Thu, 22 Mar 2007 09:29:48 GMT
Author: arminw
Date: Thu Mar 22 02:29:47 2007
New Revision: 521164

URL: http://svn.apache.org/viewvc?view=rev&rev=521164
Log:
remove space

Modified:
    db/ojb/trunk/src/test/org/apache/ojb/broker/QueryTest.java

Modified: db/ojb/trunk/src/test/org/apache/ojb/broker/QueryTest.java
URL: http://svn.apache.org/viewvc/db/ojb/trunk/src/test/org/apache/ojb/broker/QueryTest.java?view=diff&rev=521164&r1=521163&r2=521164
==============================================================================
--- db/ojb/trunk/src/test/org/apache/ojb/broker/QueryTest.java (original)
+++ db/ojb/trunk/src/test/org/apache/ojb/broker/QueryTest.java Thu Mar 22 02:29:47 2007
@@ -2113,13 +2113,13 @@
     {
         Criteria crit = new Criteria();
         ReportQueryByCriteria q = ojb.getQueryFactory().newReportQuery(Article.class, crit);
-        q.setAttributes(new String[]{"articleId", "price + 10"});
+        q.setAttributes(new String[]{"articleId", "price+10"});
         ClassDescriptor cd = broker.getClassDescriptor(q.getBaseClass());
         SqlGenerator sqlg = broker.serviceSqlGenerator();
         String sql = sqlg.getPreparedSelectStatement(q, cd).getStatement();
         
         assertTrue("Bad query generated. SQL Output: " + sql, sql
-                .equalsIgnoreCase("SELECT A0.Artikel_Nr,A0.Einzelpreis + 10 FROM Artikel
A0"));
+                .equalsIgnoreCase("SELECT A0.Artikel_Nr,A0.Einzelpreis+10 FROM Artikel A0"));
     }
 
     /**



---------------------------------------------------------------------
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