본문 바로가기
개발/Spring

[Spring Boot] application.properties(oracle연동, devtools, thymeleaf)

by 코딩하는 흰둥이 2023. 3. 10.
# 포트 지정
server.port=9090

#### Database
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
spring.datasource.url=jdbc:oracle:thin:@localhost:1521/XE
spring.datasource.username=system
spring.datasource.password=0000

#### thymeleaf
spring.thymeleaf.prefix=classpath:templates/
spring.thymeleaf.check-template-location=true
spring.thymeleaf.suffix=.html
spring.thymeleaf.mode=HTML5
spring.thymeleaf.cache=false
spring.thymeleaf.order=0


# VO location
mybatis.type-aliases-package=com.example.practice.vo

# mybatis xml location
mybatis.mapper-locations=classpath:mappers/**/*.xml

# mybatis camel-case
mybatis.configuration.map-underscore-to-camel-case=true

# devtools - 실시간 반영
spring.devtools.livereload.enabled=true

 

 

댓글