JPA Native Query with Timestamp with LocalDateTime.now() to write (update) and then select the same records that were just modified
I am using Timestamp with now = LocalDateTime.now()
with Native Query and update
and later I am using the same now
variable to select
from database. MS SQL. I am using this Java Spring Boot. In a Repository. I hope this is enough explanation and code otherwise I can try do some more description. Thank you for all the info.