-->
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: how to convert sql queries to hql queries?
PostPosted: Thu Apr 26, 2007 12:13 pm 
Newbie

Joined: Thu Apr 26, 2007 12:05 pm
Posts: 2
Hi Friends,

Please tell me the relavent hql query for this sql query.

delete from Survey_Questions.SurveyId,
Survey_Feedback.SurveyId,
Survey_Users.SurveyId
Survey_Survey.SurveyId
from Survey_Questions, Survey_Feedback,Survey_Users,Survey_Survey
where
Survey_Survey.SurveyId=Survey_Questions.SurveyId AND
Survey_Survey.SurveyId=Survey_Feedback.SurveyId AND
Survey_Survey.SurveyId=Survey_Users.SurveyId AND Survey_Survey.SurveyId=surveyId;

_________________
regards,
Phan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 26, 2007 12:29 pm 
Senior
Senior

Joined: Sat Apr 21, 2007 11:01 pm
Posts: 144
http://www.hibernate.org/hib_docs/refer ... ryhql.html

"Give a man a fish..."


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.