This is a project to show 'how-to' for Spring Boot application development.
To check each topics, see each sub-directories' README.
- Hello world
- Connecting to database
- Join tables
- Helper Bean for Thymeleaf
- Testing with JDBC/JPA
- Testing with MySQL
- Managing properties with multibyte and convert to ascii on build
- Adding Git commit SHA to profile
- Handling web resource
- Testing Controllers using MockMvc
- Adding fixed version to JavaScript/CSS libraries
- Using Javassist to conditionally make Entity's field persistent
- Modifying class definition using Javassist
- Query validation for Repositories
- Using native functions with Querydsl
- Running small apps using Spring Boot CLI
- Testing controllers faster
- Using subquery in native SQL join clause with Querydsl
- Result set mapping for native queries
- Logging controller method execution using AOP
- This project uses Gradle and developed with IntelliJ IDEA.
- This project uses Java 8 lambda expression.
- Please set Gradle JVM to Java 8 to build properly.
- This project uses Lombok to generate getters/setters.
- Please set Annotation Processor function enabled (Preferences > Build, Execution, Deployment > Compiler > Enable annotation processing).
Copyright 2015 Soichiro Kashima
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.