-->
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: Quering without strings
PostPosted: Wed Mar 09, 2005 11:45 am 
Newbie

Joined: Wed Mar 09, 2005 11:32 am
Posts: 18
Hello all.

I want to validate my querys (at least syntaxically) at compile time, and using strings as part/whole of the qeury is in contrast to that.

Is there a way for hibernate to load object without any use of strings for the query? for every query possible?

Thank you.

Shlomo


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 09, 2005 12:30 pm 
Expert
Expert

Joined: Fri Nov 07, 2003 4:24 am
Posts: 315
Location: Cape Town, South Africa
You could include your queries in your hibernate xml files and validate them from there

Any help?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 09, 2005 12:41 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
You can also use the Criteria API which is much less "stringified"


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.