plazmdk opened a new issue #3650: Get datasource containing entity
   I am using the Hint approach and only database sharding (no table sharding), 
where I basically ask another system of which shard I should put an entity into 
and select the shard accordingly. 
   I now want to be able to determine myself which shard an entity has been 
stored in.
   If I inject the entity manager and perform a .find(Entity.class, "EntityId") 
without a hint I will get the entity, but I am not able to determine which 
datasource it was fetched from - Is there a way of getting this information?
   If not, is there a way of getting the configured datasources? I then could 
loop through each datasource by hinting.
   Used version: 4.0.0-RC3

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to