-->
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.  [ 2 posts ] 
Author Message
 Post subject: why are inserted value all null
PostPosted: Thu Jan 13, 2005 5:45 pm 
Newbie

Joined: Thu Jan 13, 2005 3:11 am
Posts: 11
I enable my hibernate to show sql statement, however,i found its output :
Hibernate: insert into Messages (TEXT, NEXT_MESSAGE_ID, MESSAGE_ID) values (?, ?, ?)
Hibernate: update Messages set TEXT=?, NEXT_MESSAGE_ID=? where MESSAGE_ID=?

why are they question marks instead of concrete values?

Cheers.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 14, 2005 12:17 am 
Regular
Regular

Joined: Sat Aug 28, 2004 4:15 pm
Posts: 61
It's showing you prepared statements and not the actual SQL that the jdbc driver eventually executes.

_________________
Joe W


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