From 1d8de30d97fe17e5220d34891906404b6c1f8c9d Mon Sep 17 00:00:00 2001 From: Mateusz Dereniowski Date: Mon, 26 Oct 2015 15:24:44 +0100 Subject: [PATCH] Fixes chained join method's signature in the QueryBuilder --- DaoCore/src/main/java/de/greenrobot/dao/query/QueryBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DaoCore/src/main/java/de/greenrobot/dao/query/QueryBuilder.java b/DaoCore/src/main/java/de/greenrobot/dao/query/QueryBuilder.java index e6c15ec67..26aeb7e37 100644 --- a/DaoCore/src/main/java/de/greenrobot/dao/query/QueryBuilder.java +++ b/DaoCore/src/main/java/de/greenrobot/dao/query/QueryBuilder.java @@ -153,7 +153,7 @@ public Join join(Property sourceProperty, Class destinationEntityCl * as the source for the new join to add. In this way, it is possible to compose complex "join of joins" across * several entities if required. */ - public Join join(Join sourceJoin, Property sourceProperty, Class destinationEntityClass, + public Join join(Join sourceJoin, Property sourceProperty, Class destinationEntityClass, Property destinationProperty) { AbstractDao destinationDao = (AbstractDao) dao.getSession().getDao(destinationEntityClass); return addJoin(sourceJoin.tablePrefix, sourceProperty, destinationDao, destinationProperty);