Top "Lazy-loading" questions

object until the point at which it is needed.

How to fix org.hibernate.LazyInitializationException - could not initialize proxy - no Session

I get the following exception: Exception in thread "main" org.hibernate.LazyInitializationException: could not initialize proxy - no Session at …

java hibernate session orm lazy-loading
Entity framework linq query Include() multiple children entities

This may be a really elementry question but whats a nice way to include multiple children entities when writing a …

linq entity-framework lazy-loading
What is lazy loading in Hibernate?

What is lazy loading in Java? I don't understand the process. Can anybody help me to understand the process of …

java hibernate orm lazy-loading
JQuery to load Javascript file dynamically

I have a very large javascript file I would like to load only if the user clicks on a certain …

javascript jquery jquery-plugins tinymce lazy-loading
Doctrine 2 ArrayCollection filter method

Can I filter out results from an arrayCollection in Doctrine 2 while using lazy loading? For example, // users = ArrayCollection with User …

orm doctrine-orm lazy-loading arraycollection
How to load images dynamically (or lazily) when users scrolls them into view

I've noticed this in numerous "modern" websites (e.g. facebook and google image search) where the images below the fold …

javascript jquery html scroll lazy-loading
How can I make a JPA OneToOne relation lazy

In this application we are developing, we noticed that a view was particularly slow. I profiled the view and noticed …

java hibernate jpa lazy-loading one-to-one
How to Lazy Load div background images

As many of you know it is widely used to lazy load images. Now i want to use this as …

javascript jquery image background lazy-loading
Hibernate/Spring: failed to lazily initialize - no session or session was closed

For an answer scroll down to the end of this... The basic problem is the same as asked multiple time. …

java hibernate spring lazy-loading