16 lines
392 B
Java
16 lines
392 B
Java
package com.kri.lge.penetration.config;
|
|
|
|
import javax.sql.DataSource;
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Configuration;
|
|
import org.springframework.jdbc.core.JdbcTemplate;
|
|
|
|
@Configuration
|
|
public class JdbcConfig {
|
|
|
|
@Bean
|
|
public JdbcTemplate jdbcTemplate(DataSource dataSource) {
|
|
return new JdbcTemplate(dataSource);
|
|
}
|
|
}
|