[GODRIVER-361] CLONE - why the spring-data-MongoDB support is not fetch all nested child records with data? Created: 12/Apr/18 Updated: 12/Apr/18 Resolved: 12/Apr/18 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Documentation |
| Affects Version/s: | 1.0.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Pandiyan Rengasamy | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I have MongoDB Collection like follow *MongoDB JSON:* { , ], ], ], *Java PoJo:* @Document(collection="test") class BColl implements Serializable { private String BName; private String BFirstName; private List<BList> bList; }class CCollList implements Serializable { private String CId; private String CName; private List<CList> bList; }class CList implements Serializable { private String S; private String Value1; private String Value2; private String Value3; }*Java Code - Spring Data MongoDB query:* Test col = mongoOperation.findOne(query, Test.class); *Query:* When I try to iterate the CList object value for the "Cid" =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. **Why this issue in spring-date-mongoDB (version 1.9)? I really appreciate your help. Thanks and Regards, |
| Comments |
| Comment by Rathi Gnanasekaran [ 12/Apr/18 ] |
|
As I mentioned yesterday on |