summaryrefslogtreecommitdiffstats
path: root/src/com/iciql/Query.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/iciql/Query.java')
-rw-r--r--src/com/iciql/Query.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/iciql/Query.java b/src/com/iciql/Query.java
index 2f5141d..b43f774 100644
--- a/src/com/iciql/Query.java
+++ b/src/com/iciql/Query.java
@@ -725,7 +725,7 @@ public class Query<T> {
*/
@SuppressWarnings({ "unchecked", "rawtypes" })
- public <U> QueryJoin innerJoin(U alias) {
+ public <A> QueryJoin<T> innerJoin(A alias) {
TableDefinition<T> def = (TableDefinition<T>) db.define(alias.getClass());
SelectTable<T> join = new SelectTable(db, this, alias, false);
def.initSelectObject(join, alias, aliasMap);