문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
springframework:springboot [2018/04/03 13:10] kwon37xi [Date/Time Format] |
springframework:springboot [2018/07/18 15:13] kwon37xi [Date/Time Format] |
||
---|---|---|---|
줄 2: | 줄 2: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[springframework: | ||
+ | * [[springframework: | ||
+ | * [[springframework: | ||
===== Dependency Version Override ===== | ===== Dependency Version Override ===== | ||
줄 11: | 줄 15: | ||
* [[https:// | * [[https:// | ||
- | |||
- | ===== With JPA ===== | ||
- | * 현재 Spring boot 버전에 [[http:// | ||
- | * [[https:// | ||
- | * 해결책은 naming strategy를 직접 지정해 줄 것< | ||
- | // Hibernate 4 | ||
- | spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy | ||
- | // or | ||
- | spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.DefaultNamingStrategy | ||
- | |||
- | // Hibernate 5 | ||
- | spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl | ||
- | </ | ||
===== JRebel SpringBoot / Gradle ===== | ===== JRebel SpringBoot / Gradle ===== | ||
줄 29: | 줄 20: | ||
- | ===== Date/Time Format | + | |
- | * [[http:// | + | ===== DataSource |
- | * [[http:// | + | * Default 말고 직접 '' |
- | * 1.x와 2.x 에서 | + | <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:// | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// | ||
- | * [[http:// | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[https:// |