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: Inner and outer join syntax (book errata)
PostPosted: Fri Jul 21, 2006 4:40 pm 
Newbie

Joined: Wed May 31, 2006 11:17 am
Posts: 15
I have the second edition of Hibernate in Action. On page 261, it says that the LEFT keyword is optional in HQL, when discussing join types.

According to the latest documentation,

http://www.hibernate.org/hib_docs/v3/re ... yhql-joins

'join' produces an inner join while 'left join' (or right) produces the appopriate outer join.

This tripped me up when my program wasn't doing what the book said it should. Did I just find errata for the book? (I checked the errata thread, says nothing about it)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 22, 2006 5:15 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
The book says LEFT is optional if you use JOIN FETCH. Not that it is optional if you use JOIN.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 22, 2006 8:48 pm 
Newbie

Joined: Wed Jul 19, 2006 2:59 pm
Posts: 5
when did the second edition of Hibernate in Action came out? I thought there was no second edition and it was replaced by jave persistence with hibernate!!!!!!!


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.