DATAJPA-188 - Updated query keyword reference.
Included general keyword reference from Spring Data Commons. Updated keyword samples of supported ones.
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
<part id="reference">
|
||||
<title>Reference Documentation</title>
|
||||
|
||||
<xi:include href="https://raw.github.com/SpringSource/spring-data-commons/1.3.0.M1/src/docbkx/repositories.xml">
|
||||
<xi:include href="https://raw.github.com/SpringSource/spring-data-commons/master/src/docbkx/repositories.xml">
|
||||
<xi:fallback href="../../../spring-data-commons/src/docbkx/repositories.xml" />
|
||||
</xi:include>
|
||||
|
||||
@@ -70,9 +70,12 @@
|
||||
<part id="appendix">
|
||||
<title>Appendix</title>
|
||||
|
||||
<xi:include href="https://raw.github.com/SpringSource/spring-data-commons/1.3.0.M1/src/docbkx/repository-namespace-reference.xml">
|
||||
<xi:include href="https://raw.github.com/SpringSource/spring-data-commons/master/src/docbkx/repository-namespace-reference.xml">
|
||||
<xi:fallback href="../../../spring-data-commons/src/docbkx/repository-namespace-reference.xml" />
|
||||
</xi:include>
|
||||
<xi:include href="https://raw.github.com/SpringSource/spring-data-commons/master/src/docbkx/repository-query-keywords-reference.xml">
|
||||
<xi:fallback href="../../../spring-data-commons/src/docbkx/repository-query-keywords-reference.xml" />
|
||||
</xi:include>
|
||||
|
||||
<xi:include href="appendix/faq.xml" />
|
||||
|
||||
|
||||
@@ -205,6 +205,22 @@
|
||||
<entry><code>… where x.age > ?1</code></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><code>After</code></entry>
|
||||
|
||||
<entry><code>findByStartDateAfter</code></entry>
|
||||
|
||||
<entry><code>… where x.startDate > ?1</code></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><code>Before</code></entry>
|
||||
|
||||
<entry><code>findByStartDateBefore</code></entry>
|
||||
|
||||
<entry><code>… where x.startDate < ?1</code></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><code>IsNull</code></entry>
|
||||
|
||||
@@ -292,7 +308,9 @@
|
||||
</table><note>
|
||||
<para><code>In</code> and <code>NotIn</code> also take any subclass
|
||||
of <interfacename>Collection</interfacename> as parameter as well as
|
||||
arrays or varargs.</para>
|
||||
arrays or varargs. For other syntactical versions of the very same
|
||||
logical operator check <xref
|
||||
linkend="repository-query-keywords" />.</para>
|
||||
</note></para>
|
||||
</section>
|
||||
|
||||
@@ -960,4 +978,4 @@ public interface UserRepository extends JpaRepository<User, Long> {
|
||||
</note>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
</chapter>
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
<xsl:param name="gentext-key" select="''"/>
|
||||
<xsl:variable name="Version">
|
||||
<xsl:if test="//releaseinfo">
|
||||
<xsl:text>Spring Data Document (</xsl:text><xsl:value-of select="//releaseinfo" /><xsl:text>)</xsl:text>
|
||||
<xsl:text>Spring Data JPA (</xsl:text><xsl:value-of select="//releaseinfo" /><xsl:text>)</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:variable>
|
||||
<xsl:choose>
|
||||
|
||||
Reference in New Issue
Block a user