반응형
jdbctemplate
-
JPA 와 JDBCTemplate 저장 속도 비교Tech/SpringBoot 2017. 9. 28. 18:23
spring boot 에서 jpa 와 jdbctemplate 을 제공해주며 , jpa 와 jdbctemplate 동시에 둘다 사용 가능 하다. pom.xml org.springframework.boot spring-boot-starter-data-jpa org.springframework.boot spring-boot-starter-jdbc 접속 정보는 properties 에 아래와 같이 한다. spring.datasource.username=xxxx spring.datasource.password=xxxx spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://xxxx:xxxx/parcelab..