spring-boot-practice

Build Status

This is a project to show 'how-to' for Spring Boot application development.

To check each topics, see each sub-directories' README.

Contents

  1. Hello world
  2. Connecting to database
  3. Join tables
    1. Join using ManyToMany annotation
    2. Join using OneToMany annotation
    3. Join using JPQL with association table
    4. Join using JPA Specification
    5. Join using Querydsl
    6. Join using Querydsl with pagination
    7. Join using Querydsl with soft delete
    8. Join using JPA Criteria API with soft delete
  4. Helper Bean for Thymeleaf
  5. Testing with JDBC/JPA
  6. Testing with MySQL
  7. Managing properties with multibyte and convert to ascii on build
  8. Adding Git commit SHA to profile
  9. Handling web resource
  10. Testing Controllers using MockMvc
  11. Adding fixed version to JavaScript/CSS libraries
  12. Using Javassist to conditionally make Entity's field persistent
  13. Modifying class definition using Javassist
  14. Query validation for Repositories
  15. Using native functions with Querydsl
  16. Running small apps using Spring Boot CLI
  17. Testing controllers faster
  18. Using subquery in native SQL join clause with Querydsl
  19. Result set mapping for native queries
  20. Logging controller method execution using AOP

Notice

License

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.