svn commit: r950258 - in /ofbiz/trunk/framework/sql/src/org/ofbiz/sql: Atom.java test/GoodParseAll.sql

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r950258 - in /ofbiz/trunk/framework/sql/src/org/ofbiz/sql: Atom.java test/GoodParseAll.sql

doogie-3
Author: doogie
Date: Tue Jun  1 21:46:44 2010
New Revision: 950258

URL: http://svn.apache.org/viewvc?rev=950258&view=rev
Log:
sql foo

Modified:
    ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Atom.java
    ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/GoodParseAll.sql

Modified: ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Atom.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Atom.java?rev=950258&r1=950257&r2=950258&view=diff
==============================================================================
--- ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Atom.java (original)
+++ ofbiz/trunk/framework/sql/src/org/ofbiz/sql/Atom.java Tue Jun  1 21:46:44 2010
@@ -38,6 +38,10 @@ public abstract class Atom implements Ap
         return UtilValidate.isEmpty(map) ? null : map;
     }
 
+    public boolean equals(Object o) {
+        throw new UnsupportedOperationException(getClass().getName());
+    }
+
     public String toString() {
         return appendTo(new StringBuilder()).toString();
     }

Modified: ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/GoodParseAll.sql
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/GoodParseAll.sql?rev=950258&r1=950257&r2=950258&view=diff
==============================================================================
--- ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/GoodParseAll.sql (original)
+++ ofbiz/trunk/framework/sql/src/org/ofbiz/sql/test/GoodParseAll.sql Tue Jun  1 21:46:44 2010
@@ -57,7 +57,11 @@ ORDER BY
 OFFSET 5
 LIMIT 10
 ;
-
+SELECT DISTINCT
+ firstName
+FROM
+ Person
+;
 INSERT INTO Party (partyId, partyTypeId, statusId) VALUES
     ('a', 'PERSON', 'PARTY_DISABLED'),
     (5, 'PARTY_GROUP', ?name);