I am using Spring and JPA/Hibernate for my project.
I am writing a job using spring @Schedular mechanism.
I am facing very strange issue here, not able to update the DB values within transaction. I am using @Transactional annotation.
Is there anything which I am missing? The job is getting called, able to read the data but not able to update the DB values.
Its too late to answer this post. I solved the issue, I used @Configuration annotation in schedular class instead of it I have to use @Service annotation.
The problem was solved..