I implement a separate update method in Service layer and use native query in repository for UPDATE operation and it still results this WARN. So I config it in the application properties:
logging.level.org.hibernate.persister.entity = true
Here is the link for this solution:
https://stackoverflow.com/questions/61398510/disable-warning-entity-was-modified-but-it-wont-be-updated-because-the-proper