git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@950258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adam Heath
2010-06-01 21:46:44 +00:00
parent d25159568a
commit 69c2d455f3
2 changed files with 9 additions and 1 deletions
@@ -38,6 +38,10 @@ public abstract class Atom implements Appender<StringBuilder> {
return UtilValidate.isEmpty(map) ? null : map;
}
public boolean equals(Object o) {
throw new UnsupportedOperationException(getClass().getName());
}
public String toString() {
return appendTo(new StringBuilder()).toString();
}
@@ -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);