我使用Spring Data Gemfire和Gemfire 8.2.0的v1.7.5。 使用REQUIRES_NEW事務傳播時,嘗試暫停現有事務時失敗,出現以下錯誤。它看起來像下面的Gemfire轉換管理器(CacheTransactionManager)支持掛起和恢復,但春天的數據gemfire不支持。我的理解是正確的嗎?如果是的話,有沒有可以在不久的將來提供的解決方案或支持? Caused by: org.springframework.transaction.TransactionSuspensionNotSupportedException: Transaction manager [org.springframework.data.gemfire.GemfireTransactionManager] does not support transaction suspension at org.springframework.transaction.support.AbstractPlatformTransactionManager.doSuspend(AbstractPlatformTransactionManager.java:1129) at org.springframework.transaction.support.AbstractPlatformTransactionManager.suspend(AbstractPlatformTransactionManager.java:579) at org.springframework.transaction.support.AbstractPlatformTransactionManager.handleExistingTransaction(AbstractPlatformTransactionManager.java:424) at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:349) at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:427) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:276) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
REQUIRES_NEW交易在Spring數據不支持的情況下gemfire
0
A
回答
1
好抓!
我已經提交了JIRA票據SGF-598 -
"Add support for suspend and resume in GemfireTransactionManager"以增強SDG GemfireTransactionManager
的本地緩存事務掛起和恢復功能。
我已經相應地爲這張票設置了「修復版本」。
注意:不再支持SDG 1.7.x
。請參閱SDG project page獲取最新的最新版本。
謝謝, 約翰
相關問題
- 1. Gemfire的JTA交易支持
- 2. 在什麼情況下支持交易並不重要?
- 3. Cassandra - 交易支持
- 4. Gemfire分區:交易問題
- 5. 在不使用IPN的情況下獲得PayPal交易費用?
- 6. 休眠/春 - JUnit的失敗交易(REQUIRES_NEW)
- 7. 不支持所需的交易接口
- 8. 在扭曲的adbapi交易支持
- 9. sailsjs框架不支持交易
- 10. 在sql中不支持的情況下css
- 11. 在不支持模擬前瞻的情況下
- 12. 在不支持E4x的情況下轉換greasemonkey腳本
- 13. iOS - 在不使用筆尖的情況下支持iPad和iPhone
- 14. 在沒有mysqli的情況下處理MySQL交易
- 15. 在沒有指定交易的情況下執行SQLCommand
- 16. wordpress如何在沒有交易的情況下運作?
- 17. XML模式 - 「在這種情況下不支持元素」
- 18. 在Cassandra提供交易支持
- 19. 短跑情況下(Kebab的情況下)的數據在角2
- 20. 交易情況的基本模式
- 21. 還有其他支持Redis交易的NoSQL數據庫嗎?
- 22. Mockito Spring數據Web支持
- 23. 每秒PostgreSQL的多少交易支持
- 24. 在不使用交易的情況下從多個查詢中獲取行ID
- 25. 如何在gemfire中查看持久數據(通過spring-data-gemfire持久保存)commanline gfsh
- 26. 在沒有提交的情況下刪除mercurial上的分支
- 27. 「單一交易中目前只支持單一付款交易」
- 28. 樹脂+ ORACLE + [春] + XA事務REQUIRES_NEW - 內幕交易提交失敗
- 29. Stack Overflow在支持JavaScript的情況下效果最好Banner
- 30. 如何在沒有模塊支持的情況下使用ember.js
謝謝約翰。您的Jira票據上沒有清楚說明計劃的發佈時間。你有更新嗎?如果時間會更長,我們需要爲我們的系統提出解決方法。請澄清。 – santhakr
我將'Fix Version'設置爲1.9.1.RELEASE(Ingalls SR1),我們計劃在明天發佈CET。我不會支持將此增強功能移植到1.8。通常,通常(但並非總是),您可以在SD Commons Wiki上在這裏公開發布SD發佈列車時刻表(https://github.com/spring-projects/spring-data-commons/wiki/Release-Train-Ingalls) 。 –
這裏只是一個更新,我沒有設法讓SGF-598進入最近推出的新SDG 1.9.1.RELEASE(剛發佈)。 –