This sample shows how easy to integrate Doma with Spring Boot .
Java 8 is needed to run this sample.
git clone https://github.com/domaframework/spring-boot-sample.gitcd spring-boot-sample./gradlew bootRunhttp://localhost:8080/
JSON Response:
[{"id":1,"name":"Tokyo"},{"id":2,"name":"New York"},{"id":3,"name":"London"}]http://localhost:8080/update?name=Kyoto
JSON Response:
[{"id":1,"name":"Kyoto"},{"id":2,"name":"New York"},{"id":3,"name":"London"}]Use Eclipse 4.4 or above.
Generate all Eclipse files with Gradle.
./gradlew eclipseApache License, Version 2.0