Spring BootアプリケーションでDB2を使用する設定

Version

  • Spring Boot - 1.3.2.RELEASE
  • doma-spring-boot - 1.0.1

Application Properties

doma.dialect=DB2

spring.datasource.url=jdbc:db2://[HOST]:[PORT]/[DATABASE]:currentSchema=[SCHEMA];
spring.datasource.driver-class-name=com.ibm.db2.jcc.DB2Driver
spring.datasource.username=[USERNAME]
spring.datasource.password=[PASSWORD]

https://github.com/takesection/spring-boot-db2