Sample code using Spring Boot and Kotlin to work with JPA
9c715ce075
Both `save` and `updateCity` calls can happen at the same millisecond, therefore the `updatedAt` was not necessarily increased. The `Thread.sleep` method doesn't mention any guarantees of increasing the system time mentioned by `LocalDateTime` used in `CityEntity`, but the tests didn't fail again with this change, even when run repeatedly. |
||
---|---|---|
.mvn/wrapper | ||
domain | ||
web | ||
.gitignore | ||
mvnw | ||
mvnw.cmd | ||
pom.xml | ||
README.md |
spring-kotlin-jpa
This repository contains sample code using Spring Boot and Kotlin to work with JPA.