How to force an entity to refresh in the same session as it is saved so that child entities that are mostly reference data type can be lazy loaded. I think in the traditional jpa route we could probably do something like this:How do we achieve this with a repository implementation of the spring data jpa module?Code:entityManager.refresh(entity);


Reply With Quote
