-->
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: HQL query parser ignoring hbm files
PostPosted: Thu Sep 08, 2005 6:32 am 
Newbie

Joined: Tue Dec 28, 2004 6:25 am
Posts: 16
in one post i came across the following piece of information:

When you are using HQL the query parser will ignore the mapping document(*.hbm.xml). So when you are executing a HQL you have to specify the value in the Database.

if the query paser ignores hbm files then what is the requirement of hbm files in application using hibernate.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 08, 2005 7:05 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
you either misread the post or the post mis-spoke.

the hql parser ignores certain pieces of information from the metadata. mainly it ignores metadata-defined fetching strategies; opting instead that the user explicitly define them in the HQL statement (join fetches).


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.