These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: SQL Parameters in Exception Message
PostPosted: Tue Dec 22, 2009 6:26 am 
Newbie

Joined: Tue Mar 07, 2006 4:56 am
Posts: 17
Hi all,

from time to time, we will get an exception on our production system, which originates within nhibernate. Usually, these kind of exceptions are due to wrong parameters passed to a query. Though in the exception message text the query in question is shown, the actual parameter used is simply replaced with a question mark.

Is there a feasible way to get this info within the exception message? Or at least to retrieve these values somehow within the catch block?

Kind regards, Marco Heine...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.