diff options
author | James Moger <james.moger@gmail.com> | 2011-12-06 08:51:45 -0500 |
---|---|---|
committer | James Moger <james.moger@gmail.com> | 2011-12-06 08:51:45 -0500 |
commit | 0b94e39b872246774fe2f3a0d507f7c134a9d6b4 (patch) | |
tree | 8ad2660a9f318644a5944d26f0242a8bd50f5763 /tests/com/iciql/test | |
parent | ad70685918aac114a4babd9a1a0e0217b6323df0 (diff) | |
download | iciql-0b94e39b872246774fe2f3a0d507f7c134a9d6b4.tar.gz iciql-0b94e39b872246774fe2f3a0d507f7c134a9d6b4.zip |
Improved fluent/type-safety of join statements
Diffstat (limited to 'tests/com/iciql/test')
-rw-r--r-- | tests/com/iciql/test/JoinTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/com/iciql/test/JoinTest.java b/tests/com/iciql/test/JoinTest.java index 018d721..ceb2ad5 100644 --- a/tests/com/iciql/test/JoinTest.java +++ b/tests/com/iciql/test/JoinTest.java @@ -28,7 +28,6 @@ import org.junit.Test; import com.iciql.Db; import com.iciql.Iciql.IQColumn; import com.iciql.Iciql.IQTable; -import com.iciql.util.IciqlLogger; /** * Tests of Joins. @@ -79,7 +78,7 @@ public class JoinTest { final UserNote n = new UserNote(); // this query returns 1 UserId if the user has a note - List<UserId> users = (List<UserId>) db.from(u).innerJoin(n).on(u.id).is(n.userId).groupBy(u.id).where(u.id).is(2).select(); + List<UserId> users = db.from(u).innerJoin(n).on(u.id).is(n.userId).groupBy(u.id).where(u.id).is(2).select(); db.dropTable(UserId.class); db.dropTable(UserNote.class); |