Warning message

A translation for your language preference does not exist.

In Hibernate / transactions an 'Already marked for rollback' exception does not include the root cause

Solution 未確認 - 更新日時 - 日本語 への翻訳依頼

問題

  • When we call an exception from within the transaction border, JBoss or/and Hibernate catches the exception an rewrites it as a 'already marked for rollback' exceptions. That is ok because it is part of the spec. The problem is that the new exception does not include the real cause for the exception. That eliminates the possibility for us to extract the cause from the exception and write the error message.

環境

  • JBoss Enterprise Application Platform (EAP) 5
  • Hibernate

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content