Exception in AbstractEntityManagerImpl not logged to the user

Description

When an exception different than HibernateException occurs in the AbstractEntityManager then the exception is not logged to the user. I have attached a patchfile made with winMerge.

Please include this patch in the next version because it is really hard to get it what went wrong otherwise!

Environment

Windows x64, JDK 1.6_22, Websphere 8

Status

Assignee

Unassigned

Reporter

Christian Beikov

Labels

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

Priority

Critical
Configure