greenDAO queryBuilder with join
<p>I have 2 entities (person, lease). I want to get all person and lease attributes where <code>person_id</code> is equal to <code>Lease_personId</code>.</p>

<p>With a raw query </p>

<pre><code>SELECT * 
FROM Person 
INNER JOIN lease ON person._id = lease.person_id
</code></pre>

<p>on the database, everything works fine.</p>

<p>But with the greenDAO queryBuilder:</p>

<pre><code>QueryBuilder&lt;Person&gt; queryBuilder = personDao.queryBuilder();
queryBuilder.join(Lease.class, LeaseDao.Properties.PersonId);

List &lt;Person&gt; persons = queryBuilder.list();
</code></pre>

<p>I get nothing back.</p>