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: Errors in Documentation
PostPosted: Tue Apr 04, 2006 4:53 am 
Expert
Expert

Joined: Tue Dec 07, 2004 6:57 am
Posts: 285
Location: Nürnberg, Germany
Hi,
I found 2 Errors in the Documentation:

Chapter 19.1.5. Using Batch fetching:
Quote:
With a batch-size of 8, Hibernate will load 3, 3, 3, 1 collections in four SELECTs.

I think this should be as follows:
With a batch-size of 8, Hibernate will load 8, 2 collections in two SELECTs.

10.4.4. Queries in native SQL
I think this chapter uses an outdated API

Shall I raise a JIRA Task for this?

Cheers,
Mike

_________________
Please don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 11:00 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
For the first one, the docs are correct, though ambiguous: they're saying that the batch-size attribute in the set element (3) overrides the default batch-size that you set in your config file (8).

The API calls in 10.4.4 look good to me. What's the issue you're noticing?


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.