-Sample Spring boot + Ehcache with Rest API and Spring JPA.
-Configure Ehcache with Java (xml-less).
-How to Modify Cache List with Ehcache.
-Create new database name "sampledatabase" in MySQL or SQL Server.
-Configure database in src/main/resources/application.yml (user/password/host and port)
-Modify configure cache (cache remove policy, max element, time to remove cache) in src/main/java/com/example/config/CacheConfig.java
-Change dialect to what database you use.
-Configure auto generate table when start app in dll-auto. (create, create-drop, update)
-Send HTTP Get to localhost:9999/user/model, use response data model to work in this project.
-If this project help you, clicking Star button will help author happy.
-If you have any question, just open an issue.
-If you want to add or modify anything please fork it and create pull request.
-Hau van
-Email: [email protected]