hibernate / hibernate-models

An abstraction over "reflection" and annotations
Apache License 2.0
2 stars 5 forks source link

Parallel Calls for child level tables from parent repo itself #33

Closed amrit9326 closed 4 months ago

amrit9326 commented 4 months ago

We're using JPA + Hibernate with our Hana database. Below is the db model as such..

VehicleModel {

salesModel financialModel maintenanceModel } *

Now the repository is at Master entity Vehicle and when I'm try to access the vehicle with id vehicleRepository.findById(id), all the associated child tables query are being sent in sequence. Is there any way to fire it in parallel.

Please check dynatrace calls as below

image

The yellow blocks can be seen which shows the query is being sent in parallel.

sebersole commented 4 months ago

What does that have to do with this project? I assume you are looking to create an issue in the tracker for Hibernate ORM?

amrit9326 commented 4 months ago

@sebersole I was looking for opening a feature request to hibernate. Could it be possible to do the same from here? Do I need to follow some different process to have this feature requested.