<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:03 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[GODRIVER-361] CLONE - why the spring-data-MongoDB support is not fetch all nested child records with data?</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-361</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I have MongoDB Collection like follow &lt;/p&gt;

&lt;p&gt;*&lt;b&gt;MongoDB JSON:&lt;/b&gt;*&lt;/p&gt;


&lt;p&gt;     {&lt;br/&gt;
            &quot;_id&quot; : &quot;1&quot;,&lt;br/&gt;
            &quot;_class&quot; : &quot;com.AColl&quot;,&lt;br/&gt;
            &quot;BColDate&quot; : &lt;/p&gt;
{
                &quot;BName&quot; : &quot;xx&quot;,
                &quot;BFirstName&quot; : &quot;97908&quot;,
                &quot;BList&quot; : []
            }
&lt;p&gt;,&lt;br/&gt;
            &quot;CCollList&quot; : [ &lt;br/&gt;
                {&lt;br/&gt;
                    &quot;CId&quot; : &quot;1&quot;,&lt;br/&gt;
                    &quot;Cname&quot; : &quot;abc&quot;&lt;br/&gt;
                    &quot;CList&quot; : [ &lt;/p&gt;
                        {
                            &quot;S&quot; : &quot;N&quot;,
                            &quot;Value1&quot; : &quot;&quot;,
                            &quot;Val2&quot; : &quot;qq&quot;,
                            &quot;Val3&quot; : &quot;ww1&quot;
                        }
&lt;p&gt;                    ],&lt;br/&gt;
                    &quot;addres1&quot; : &quot;&quot;,&lt;br/&gt;
                    &quot;status&quot; : false&lt;br/&gt;
                }, &lt;br/&gt;
                {&lt;br/&gt;
                    &quot;CId&quot; : &quot;2&quot;,&lt;br/&gt;
                    &quot;Cname&quot; : &quot;abc&quot;&lt;br/&gt;
                    &quot;CList&quot; : [ &lt;/p&gt;
                        {
                            &quot;S&quot; : &quot;N&quot;,
                            &quot;Value1&quot; : &quot;&quot;,
                            &quot;Val2&quot; : &quot;qq&quot;,
                            &quot;Val3&quot; : &quot;ww1&quot;
                        }
&lt;p&gt;                    ],&lt;br/&gt;
                    &quot;addres1&quot; : &quot;&quot;,&lt;br/&gt;
                    &quot;status&quot; : false&lt;br/&gt;
                }, &lt;br/&gt;
                {&lt;br/&gt;
                    &quot;CId&quot; : &quot;3&quot;,&lt;br/&gt;
                    &quot;Cname&quot; : &quot;abc&quot;&lt;br/&gt;
                    &quot;CList&quot; : [ &lt;/p&gt;
                        {
                            &quot;S&quot; : &quot;N&quot;,
                            &quot;Value1&quot; : &quot;&quot;,
                            &quot;Val2&quot; : &quot;qq&quot;,
                            &quot;Val3&quot; : &quot;ww1&quot;
                        }
&lt;p&gt;                    ],&lt;br/&gt;
                    &quot;addres1&quot; : &quot;&quot;,&lt;br/&gt;
                    &quot;status&quot; : false&lt;br/&gt;
                }&lt;br/&gt;
            ]&lt;br/&gt;
        }&lt;/p&gt;

&lt;p&gt;*&lt;b&gt;Java PoJo:&lt;/b&gt;*&lt;/p&gt;


&lt;p&gt;     @Document(collection=&quot;test&quot;)&lt;br/&gt;
        class Test implements Serializable&lt;/p&gt;
{
        	private static final long serialVersionUID = 1L;
        	@Id
        	@Indexed
        	private String id;
        	@Field(&quot;bbcoll&quot;)
        	private BColl bbcoll;
        	@Field(&quot;CCollList&quot;)
        	private List&amp;lt;CCollList&amp;gt; CCollList;
        }

&lt;p&gt;        class BColl implements Serializable &lt;/p&gt;
{
        	private String BName;
            private String BFirstName;
            private List&amp;lt;BList&amp;gt; bList;
        }

&lt;p&gt;        class CCollList implements Serializable &lt;/p&gt;
{
        	private String CId;
            private String CName;
            private List&amp;lt;CList&amp;gt; bList;
        }

&lt;p&gt;        class CList implements Serializable &lt;/p&gt;
{
        	private String S;
            private String Value1;
            private String Value2;
            private String Value3;
        }

&lt;p&gt;*&lt;b&gt;Java Code - Spring Data MongoDB query:&lt;/b&gt;*&lt;/p&gt;

&lt;p&gt;    Test col = mongoOperation.findOne(query, Test.class);&lt;/p&gt;

&lt;p&gt;*&lt;b&gt;Query:&lt;/b&gt;*&lt;/p&gt;

&lt;p&gt;When I try to iterate the CList object value for the &quot;Cid&quot; =2/3/1 and the MongoDB collections list values are null but in MongoDB the values are existed (as per json) and list object are not null. &lt;/p&gt;

&lt;p&gt;**Why this issue in spring-date-mongoDB (version 1.9)? &lt;br/&gt;
otherwise, please let me know that this issue identified earlier?**&lt;/p&gt;

&lt;p&gt;I really appreciate your help.&lt;/p&gt;


&lt;p&gt;Thanks and Regards,&lt;br/&gt;
Pandiyan Rengasamy&lt;/p&gt;</description>
                <environment></environment>
        <key id="526055">GODRIVER-361</key>
            <summary>CLONE - why the spring-data-MongoDB support is not fetch all nested child records with data?</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="pandiyan">Pandiyan Rengasamy</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Apr 2018 16:04:19 +0000</created>
                <updated>Thu, 12 Apr 2018 16:08:32 +0000</updated>
                            <resolved>Thu, 12 Apr 2018 16:08:32 +0000</resolved>
                                    <version>1.0.0</version>
                                                    <component>Documentation</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1862616" author="rathi.gnanasekaran" created="Thu, 12 Apr 2018 16:08:32 +0000"  >&lt;p&gt;As I mentioned yesterday on &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-358&quot; title=&quot;why the spring-data-MongoDB support is not fetch all nested child records with data?&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-358&quot;&gt;&lt;del&gt;GODRIVER-358&lt;/del&gt;&lt;/a&gt;, you are posting your question in the wrong project. &lt;br/&gt;
Please send your general enquiries to the &lt;a href=&quot;https://groups.google.com/forum/#!forum/mongodb-user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongodb-user&lt;/a&gt; mailing list.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htm8xr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>