문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
springframework:springboot [2018/04/06 08:54] kwon37xi |
springframework:springboot [2018/06/14 10:40] kwon37xi |
||
---|---|---|---|
줄 2: | 줄 2: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
===== Dependency Version Override ===== | ===== Dependency Version Override ===== | ||
줄 33: | 줄 34: | ||
* [[http:// | * [[http:// | ||
* 1.x와 2.x 에서 동일 결과를 낼 수 있는 방식 지정할 것. | * 1.x와 2.x 에서 동일 결과를 낼 수 있는 방식 지정할 것. | ||
+ | |||
+ | ===== DataSource ===== | ||
+ | * Default 말고 직접 '' | ||
+ | <code java> | ||
+ | import org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder; | ||
+ | @Bean | ||
+ | @ConfigurationProperties(prefix = " | ||
+ | public DataSource rubyDataSource() { | ||
+ | return DataSourceBuilder.create().type(org.apache.tomcat.jdbc.pool.DataSource.class).build(); | ||
+ | } | ||
+ | </ | ||
+ | * 위 예에서 설정값은 '' | ||
+ | |||
===== 참고 ===== | ===== 참고 ===== | ||
* [[http:// | * [[http:// | ||
줄 41: | 줄 55: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// |