Exception when trying to use spring data mongo repository with Stream
<p>I have MongoRepository extended and want to use the Stream API. As by the reference, I declared a query method:</p>

<pre><code>public Stream&lt;MyType&gt; findByIdIn(Iterable&lt;? extends String&gt; myTypeIds);
</code></pre>

<p>However, when starting up my Spring Boot application, a <code>PropertyNotFoundException</code>is thrown stating:</p>

<blockquote>
  <p>No property id found for type Stream!</p>
</blockquote>

<p>My domain type derives from a supertype containing the actual id of the MongoDB object. Any ideas how to fix this?</p>

<p>I am using Spring Boot 1.2.0.RELEASE and Spring Data MongoDB 1.6.1.RELEASE.</p>