Java Spring Boot many-to-many relationship

Job ID: 32224173

Budget: $10 – $30 USD

I have a java spring boot app. I need to pull data from many-to-many relationships but i dont get the data I want.
I have a class "Orders" (OneToMany "ProductOrderDetails" relationship), class "Product" (OneT oMany "ProductOrderDetails") and ProductOrderDetails class with following relationships : @ManyToOne Orders; @ManyToOne Product and it contains additional properites.
Every Order should have list of ordered products and should be visible when i do getOrderById.
This should be really easy to do for someone whos familiar with Spring Boot and JPA.