Bug 342 : Change AutoFetch to exclude Lobs that are FetchLazy
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.7.2
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
02/12/2010
Updated 
02/12/2010
Type 
Bug
 
Attachments 
No attachments

Change the behaviour of AutoFetch so that it will NOT include Lobs that are FetchLazy.

By default Lob's are set to FetchLazy ... so by default AutoFetch is now not going to include them in the query (when it currently does).

This change is due to the high performance cost of fetching lots of Lobs. That is, fetching the Lob's later using lazy loading is generally going to be a more performant. If you wish to fetch the Lobs eagerly using AutoFetch then you need to mark them as FetchEager or use a manually tuned query.

 
Rob 02 Dec 08:50
Fixed in HEAD

Fixed in HEAD.

woResponse

Upload a file