Entity Not Updated in Database

379 Views Asked by At

I was trying to update entries in the package using EntityManager but its entity is not getting updated for some reason. I was using entityManager.merge(entity) to update.

Any suggestions on how to fix or debug?

1

There are 1 best solutions below

0
Md9 On

Would have been nice to put the code here, did You try using @Transactional on the method?

also check this link which is similar to your question.