tag:blogger.com,1999:blog-11388923.post2656860332763503362..comments2024-03-24T20:54:16.021-05:00Comments on Bart's Blog: Extra-lazy collection fetching in HibernateAnonymoushttp://www.blogger.com/profile/01154315948247678050noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-11388923.post-91806518751908151782021-11-15T05:35:50.120-06:002021-11-15T05:35:50.120-06:00Beautifull content and well post.
contact us
Renta...Beautifull content and well post.<br />contact us<br /><a href="https://www.rentbridaljewellery.com/bridal-jewellery-sets-rent-in-bangalore/page-42469923" rel="nofollow">Rental Bridal Jewellery in Bangalore</a><br />mahila prasadhttps://www.blogger.com/profile/05535393003949149343noreply@blogger.comtag:blogger.com,1999:blog-11388923.post-68803075147458257062009-10-29T09:30:10.093-05:002009-10-29T09:30:10.093-05:00What exactly is the difference among these three t...What exactly is the difference among these three things. I am confused with explanation given on Hibernate website.<br /><br />lazy="true"<br />lazy="false" <br />lazy="extra"<br /><br />(specially i want to understand this)Funny Projecthttps://www.blogger.com/profile/07430426460402568154noreply@blogger.comtag:blogger.com,1999:blog-11388923.post-28750578747372985862008-12-23T09:39:00.000-06:002008-12-23T09:39:00.000-06:00Hi Bart,reading your last example (adding an eleme...Hi Bart,<BR/><BR/>reading your last example (adding an element to an extra-lazy collection) I wonder where Hibernate determines the list_index of the added element. The SQL trace does not show a statement that returns the maximum index used.<BR/><BR/>--StefanStefan Wachterhttps://www.blogger.com/profile/13742475075132185727noreply@blogger.comtag:blogger.com,1999:blog-11388923.post-78820034332092510152008-09-28T16:30:00.000-05:002008-09-28T16:30:00.000-05:00At least for the OneToMany relationship, Hibernate...At least for the OneToMany relationship, Hibernate does not load the elements of the collection when adding new elements. I've updated the wiki write up with a JUnit test case and Hibernate generated SQL demonstrating that extra-lazy collection fetching will ensure that elements are not faulted in when adding a new element (in my case, a Wine to a Winery).Anonymoushttps://www.blogger.com/profile/01154315948247678050noreply@blogger.comtag:blogger.com,1999:blog-11388923.post-42628507746222598112008-09-26T05:44:00.000-05:002008-09-26T05:44:00.000-05:00hello Barti've read your post and codeand i have a...hello Bart<BR/><BR/>i've read your post and code<BR/><BR/>and i have a doubt:<BR/>In a MAnyToMany assoc:<BR/><BR/>if I have to add a element to a collection and I'm using the @Lazy Extra feature, my code will look like:<BR/><BR/>ManySideA.getManySideBCollection().add(element);<BR/><BR/>Will hibernate load all the collection?<BR/><BR/>if yes this is a big problem if I hava 1 million objects in that collection...<BR/><BR/>thank you for your example<BR/><BR/>[]Vitor Douglas Rumanskihttps://www.blogger.com/profile/05285240616522521878noreply@blogger.com