-->
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.  [ 3 posts ] 
Author Message
 Post subject: How to retrieve the query
PostPosted: Wed Dec 14, 2005 10:41 am 
Beginner
Beginner

Joined: Wed Dec 14, 2005 10:32 am
Posts: 20
Hi All,

I am new to Hibernate and I am trying to do a simple insert.

It did not throw any errors and at the same time did not insert into the table.

My question is how can I take a look at the insert query that hibernate is executing?

I used '<property name="show_sql">true</property>' but it shows the query something like this

Hibernate: insert into XXX (X, Y, Z) values (?, ?, ?)

I want to look at the query along with the values being sent.

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 14, 2005 1:05 pm 
Expert
Expert

Joined: Wed Apr 06, 2005 5:03 pm
Posts: 273
Location: Salt Lake City, Utah, USA
http://forum.hibernate.org/viewtopic.php?t=948768&highlight=

_________________
nathan


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 14, 2005 5:46 pm 
Beginner
Beginner

Joined: Wed Dec 14, 2005 10:32 am
Posts: 20
Thanks a lot


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.