Hello,
Are entity beans allowed access to Entity Manager via injection (i.e. @PersistenceContext (unitName="mymgr"))? I would like to run a query from an entity bean method.
Thanks and Regards,
MKA
this is not allowed
Micing domain model and data access layer in considered bad practice