Lazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed.

learn more… | top users | synonyms

0
votes
0answers
6 views

IceFaces 3.1.0: Casting error with lazy loading in DataTable and filtering criteria set before rendering

Despite such a topic has been discussed several times in the IceFaces forum and all the failures seemed to be due to programming errors made by the OP, I'm writing this post because, after some hours ...
-1
votes
1answer
19 views

NHibernate caching and lazy loading providing unwanted results

I have been experiencing some major caching and lazy loading problems with NHibernate using C# and ASP.NET. It was not until we enabled caching that this begun. In many situations we have to write ...
0
votes
2answers
42 views

Vaadin Table: load data only on click of button

My table have a big query, so I want to make the user filter some fields before displaying the table data. It's possible to make the table get the data only on the click of some button? Actually ...
0
votes
0answers
24 views

Attaching object to DbContext leads to “ObjectStateManager cannot track multiple objects with the same key”

Context: I am trying to seed data to my EF code first database by overloading the Seed method in the Configuration class. The approach I am using to add a single instance of a DVR entity is outlined ...
0
votes
1answer
17 views

Is there any way to stop an image in a UIImageView from lazy loading with SDWebImage on iOS?

I'm using the following code to lazy load an image into my UIImageView: [self.imv1 setImageWithURL:[NSURL URLWithString:myURL] placeholderImage:[UIImage imageNamed:@"loading.png"] ...
-1
votes
2answers
38 views

Lazy loading UITableView with multiple images in each cell

I am using lazy loading to show images on a table view. But I need to create a tableview with multiple images in every cell.Which can be scrolled. All images are loaded from server only How can I ...
0
votes
1answer
18 views

How to set fetch=“Join” and lazy=“False” in <key-many-to-one > mapping in hbm.xml

I have table mapping in .hbm.xml file as follows. when i set lazy loading to false , it is not working. It is fire lots of select query to db to load other table. <class name="GroupConfigDO" ...
0
votes
1answer
33 views

How to implement a lazy load GridView on WinRT?

I need to implement a gridview of thumbs. But when my app hit 200 thumbs, it starts to get memory problems(of course). I need to implement a lazy load but I don't know how to detect where the ...
0
votes
1answer
18 views

Doctrine: Only load ID of relationship

Is it possible with Doctrine to say that I only want to get the ID of an relationship (n:1) loaded? The ID itself is a natural value and in most times I don't need the related entity.
0
votes
1answer
33 views

hibernate One-to-many association : subselect or eager

In a grails application, i have a relationship that is by default lazy: class Author{ String name static mapping = { books lazy:false } } I have a criteria API query that ...
0
votes
1answer
11 views

Lazy loading via AJAX - JS templating or HTML from server

I am a little new to development so apologies if this question is trivial. I am trying to implement lazy loading by sending an AJAX call to my server, querying the database and returning the next ...
0
votes
1answer
17 views

UIImageView-TableViewCell Crash iphone

I am getting a crash while adding uiimageView in a containerView inside uitableView. I am performing lazy loading, the images loads successfully but when i scroll the table upwards, application ...
0
votes
2answers
71 views

Getting JSON Serialization Entity Framework Self Reference Loop error even after ProxyCreation false when using explicit Include

JSON Serialization (ASP.Net Web API) fails because of self-referencing loop (it’s a common problem, Reason: an entity being requested lazy loads child entities and every child has a back reference to ...
2
votes
1answer
138 views

Volley ImageLoader really slow on older devices

Has anyone been able to test Volley on older devices? I have a ZTE Blade which has a single core 800mhz cpu. I've found that Volley will just sit there waiting for 4-5 seconds or even longer before ...
1
vote
3answers
45 views

NHibernate Linq Provider eager fetching lazy string property

I am considered new to NHibernate. I want my Article entity class to have two lazy properties. One of them is User other is Content. My entity and mapping is like <class name="Article" ...

1 2 3 4 5 106
15 30 50 per page