-->
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.  [ 5 posts ] 
Author Message
 Post subject: Logging SQL substitutions
PostPosted: Thu Jun 16, 2005 3:29 am 
Newbie

Joined: Sat Jun 11, 2005 5:27 am
Posts: 11
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

3.0:

Is there any way of logging substitution values in SQL statements? SQL logging isn't telling me much, my problem is with what the ?s actually are.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 3:32 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
read the docs http://www.hibernate.org/hib_docs/v3/re ... on-logging

-max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 3:41 am 
Newbie

Joined: Sat Jun 11, 2005 5:27 am
Posts: 11
max wrote:


So the answer is "No". Any suggestions as to how to debug my foreign key constraint violation?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 3:46 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
The answer is not no! Did you actually try to read that table with about 10 various level of logging ?

look for J-D-B-C P-a-r-a-m-e-t-e-r-s ,)

-max

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 4:13 am 
Newbie

Joined: Sat Jun 11, 2005 5:27 am
Posts: 11
max wrote:
The answer is not no! Did you actually try to read that table with about 10 various level of logging ?

look for J-D-B-C P-a-r-a-m-e-t-e-r-s ,)

-max


Sorry, got it. I misunderstood the entry. Actually it finally occured to me that the way to find out what it was trying to store was to drop the constraint, it seems the constraint, is the problem.


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

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.