2 Replies Latest reply on Oct 27, 2011 12:47 PM by cherrera28

    Obtain Hibernate Exceptions for post-execution manipulation...

    cherrera28

      Hello community...

       

      I need to obtain the stacktrace of exceptions of failed transactions with hibernate for reviewing, tracking, or whatever.

       

      Actually, we are building a WS module that save some entities to database (using hibernate of course), but in failure cases, we need obtain the stacktrace for save the message in a database table with an execution ID (this id belongs to the request of invocation. This id is generated by hibernate too). This feature will provide us the flexibility of tracking errors quickly in both sides of execution (client and WS application) without reviewing large log files.

       

      Anyone can help me with this issue?

       

      Regards.