ivoa / vo-dml

VO-DML tooling and documents.
Creative Commons Attribution Share Alike 4.0 International
1 stars 1 forks source link

JPA full model loading #12

Closed pahjbo closed 2 years ago

pahjbo commented 2 years ago

Collections are marked as lazy loading for performance reasons - however there are times that it is desirable to load the full object graph - the easiest way (easier than complex queries) of doing this is to have code generated with the model to walk the object graph which can be executed during the JPA entity manager session after the initial top level query so that JPA will actually load those parts of the object graph