apache / apache/incubator-seata-samples
事物提交抛异常
- Dominant language
- Java
- Stars
- 2.4k
- Forks
- 2k
- PR merge metrics
- No merged PRs in 30d
Description
springcloud 配置文件只能用properties不能用yml?
照着demo配置,连接池换成hikari以后,报这个异常
2019-06-25 17:12:48.884 ERROR 1960 --- [nio-8001-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.orm.jpa.JpaSystemException: Unable to commit against JDBC Connection; nested exception is org.hibernate.TransactionException: Unable to commit against JDBC Connection] with root cause
io.seata.rm.datasource.exec.LockConflictException: null
Contributor guide
Research direction
The payload names no files or tests. Start by comparing the demo's properties and YAML configuration while reproducing the Hikari connection-pool setup, then trace the transaction commit that raises LockConflictException. Done means the configuration or connection-pool cause is confirmed and a reproducible resolution is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100