반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- popup
- MariaDB
- spring3
- mysql
- Next.js
- MSsql
- jquery
- FCM
- Push
- Java
- jenkins
- NextJS
- security
- SpringBoot
- Tomcat
- mybatis
- docker
- javascript
- pwa
- config
- rocky9
- ajax
- Maven
- nodejs
- node.js
- git
- Eclipse
- yona
- PM2
- centos7
Archives
- Today
- Total
목록Transactional not working (1)
종이 한장 차이...
springboot @Transactional not working...
먼저 @Transactional 어노테이션 사용을 위해 설정이 필요하다. DataSource 설정 부분에 아래와 같이 PlatformTransactionManager 설정을 하고 @EnableTransactionManagement 어노테이션을 명시한다. package com.graykang.config; import javax.sql.DataSource; import org.apache.ibatis.session.SqlSessionFactory; import org.mybatis.spring.SqlSessionFactoryBean; import org.mybatis.spring.SqlSessionTemplate; import org.mybatis.spring.annotation.MapperScan; im..
Spring
2021. 7. 27. 13:59