title: How can i get the reference objects in spring boot with mongodb
body: <p>When we use SQL with Spring boot, we can use hibernate and add @OneToMany relationships. It helps us to get the reference objects from another entity.</p>
  <p>As an example, suppose Order and OrderDetails entities. When I query the Order entity, It automatically maps with the OrderDetails entity and it brings the whole document together. How can I do such a thing with <strong>Springboot+mongodb</strong>? Is there any easy way to solve this problem? Is it called ORM?</p>