Hi,
@Repository is @Dependent scoped...and seems that @Dependent don't run
interceptors, so @CacheResult(cacheName = "my-cache") annotation isn't
working :(
I remember that some one proposed that @Repository could/should be
@ApplicationScoped...if I change them do I have to worry with anything? My
EntityManager producer is the following:
@Produces
@RequestScoped
public EntityManager get()
{
return entityManager;
}
I suppose I'll have a different EM for each HTTP request / MDB onMessage()
/ @Scheduled(cronExpression ="....")...am I correct?
regards,
LA