-->
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: getSQL function returns n/a
PostPosted: Thu Dec 05, 2013 5:31 pm 
Newbie

Joined: Thu Dec 05, 2013 5:19 pm
Posts: 1
Dear developers,

We are upgrading from hibernate3 to hibernate4.2.6.

Our code needs to analyze the SQL statement returned by ConstraintViolationException::getSQL()
but this getSQL function in hibernate4.2.6 seems to return n/a in the same code
that has been working fine with hibernate3.
(I understand that in principle getSQL can return n/a.)

Are there any other changes or configurations that need to be done
in order to use this feature in hibernate4 versions?

Thanks in advance.
Hyun.


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.