Unable to query persisted record Using JPA with hibernate provider
posted 5 years ago
Hi I am using JPA with hibernate provider to manage DB.
In an order first i am persisting user request in the the DB, and i am keeping request id after persisting.
After some flow, i am trying to get persisted results using request id.
During this process, one of the bi-directional relationship is returning null list. Incase If i use the previous session's request id, the bi-directional relationship is working and returning list of child entities.
Please suggest me if any configurational changes required.