'How can I detect from where was set value in database?
It's a first time that I'm working on a big project and I can't find from where specific field receiving its values(setter wasn't used in code). Is there a way to find out this from database? screenshot
Solution 1:[1]
From the database itself, you can track the changes through Transaction Logs (check out this answer, for instance).
If this project relies on spring-boot or hibernate, I would, for the sake of testing, switch on SQL logging:
spring.jpa.show-sql=true
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
