Is it possible to load an entity using a Formula?
For example:
@formula(\"(select * from myEntity ent where ent.isLatest = TRUE )\") publicmyEntity g
You can, but the formula looks:
select ent from myEntity ent where ent.isLatest
Another alternatives are,
mounting the entity in your method. post loading method