Search
Duplicate
โ˜•

ํ…Œ์ŠคํŠธ ์‹œ DataSource ๊ด€๋ จ

spring: datasource: url: jdbc:h2:mem:test;MODE=MYSQL;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE username: sa
YAML
๋ณต์‚ฌ
@JdbcTest , JdbcTemplate.execute()
โ†’ EmbeddedDatabaseFactory$EmbeddedDataSourceFactory
@SpringBootTest, JdbcTemplate.execute()
โ†’ HikariDataSource