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 can i use START WITH.........CONNECT BY in hibernate
PostPosted: Wed Jul 26, 2006 6:25 am 
Newbie

Joined: Wed Jul 26, 2006 6:14 am
Posts: 1
Hi i am using hibernate with my application.
I want to find the parent, grandparent, and so forth for a child record.
for this i need to use hibernate .
I can very easily write a query in sql using START WITH ....CONNECT BY PRIOR clause and retrieve the result.
Does hibernate has a work around for this.
I know i can use Native sql , but i dont want to use that.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 28, 2006 4:48 am 
Regular
Regular

Joined: Wed May 05, 2004 3:41 pm
Posts: 118
Location: New Jersey,USA
I don't beleive Hibernate supports DB specifc extensions like START WITH CONNECT BY as it is not default ANSI SQL standard. You will have to go with Native SQL for now.


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.