② ★ application.properties ( mapper 패지지 - xml 파일 연결 )
페이지 정보
![profile_image](https://dancepkt.cafe24.com/data/member_image/ad/admin.gif?1630310007)
본문
spring.application.name=web
//spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
//spring.datasource.url=jdbc:mysql://localhost:3306/springboot
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3307/springboot
spring.datasource.username=root
spring.datasource.password=1111
mybatis.mapper-locations=mapper/**/*.xml
- 이전글① mapper 패키지 생성하기 24.06.03
- 다음글③ 마이바티스 연결 확인 @test 하기 ( JUint ) 24.06.03
댓글목록
등록된 댓글이 없습니다.