I have used the @Transactional and @Inject annotation in my axelor job class. I get the following errors.
- For the @Transactional the error is that no transaction is available
- For the @Inject, the injected object throws a null pointer.
It seems the quartz job does not recognise these annotations . Any help please ?
1 « J'aime »
siddique
(Siddique Ahmad)
2
share gist so I can reproduce
Here is the link to the gist
Sorry . It was an error while sharing the link. The is the link
siddique
(Siddique Ahmad)
6
inject is recog in job context, you can see as reference here
and here is the reference for the transactional annotation
This is to give you hint so you might see what’s missing on your side
siddique
(Siddique Ahmad)
8
solved ? please post if it solved
Yeah please . The issue has been solved . Thank you
1 « J'aime »
system
(system)
A fermé ce sujet ()
10
Ce sujet a été automatiquement fermé après 30 jours. Aucune réponse n’est permise dorénavant.