Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 877 Bytes

File metadata and controls

48 lines (29 loc) · 877 Bytes

Spring-Multi-Module-QueryDSL-Template

Goal

  • Compose a Multi Module Structure project with QueryDSL

Spec

  • Java 11
  • Spring Boot 2.4.4
  • MySQL
  • JPA & QueryDSL
  • Gradle 6.8.3

Structure

  • Parent

    • module-common : Repository, Property, Constant
  • Child

    • module-api : Controller, Service

build.gradle in Root

project(':module-api') {
    dependencies {
        compile project(':module-common')
    }
} 

Setup

  • Need to add DB config in module-common to /config/custom/db.yml

image

Implement

  • QueryDSL Setting Commit : 641b270

Reference