posted 4 years ago
Hi
Could you please help me to solve one JPA issue? I trying to make 1 project for learning but struck here.
I have 3 entities with OneToMany relation like below:
Now What i want is for a particular period i want to fetch all the related tags and all the related transactions. But whenever i query it always return Period and Tag but transactions is empty.
This query returns only period/tag. Transaction are empty.
But when i used join than it will fetch values in pairs
I want result like 1 with transactions value. Please help me.