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
7 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
0answers
22 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
32 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" ...
0
votes
0answers
18 views

POST to Web Api is null with LazyLoadingEnabled = false

I am writing an app with a Web Api in MVC4 and I'm using Entity Framework 5. I have a many to many relationship between two models -> Student and Abscence. public class Abscence { public int Id ...
0
votes
1answer
35 views

Check if IEnumerable has ANY rows without enumerating over the entire list

I have the following method which returns an IEnumerable of type T. The implementation of the method is not important, apart from the yield return to lazy load the IEnumerable. This is necessary as ...
0
votes
1answer
20 views

Bean Validation Fails on Hibernate Proxy? Expected Behavior?

Im using hibernate-core-4.0.1.Final hibernate-validator-4.2.0.Final I have a lazy loadable Entity @NotNull @OneToOne(fetch = FetchType.LAZY,optional = false,cascade = CascadeType.PERSIST) ...
0
votes
0answers
51 views

Jquery - MapTiles loading very slow with lazy load

And my next problem. I made a little Map, showing some points. I thought it is a good idea to split the map into 200x200px tiles for easy loading. But with every zoom level the map dragging becomes ...
0
votes
0answers
21 views

Lazy Loading content from MySQL by form filters

I have a simple form in a web page with which I can search the data in my database table. I want to get the search results using the Lazy Loading plugin. A simple example of real use: In the form, ...
-1
votes
0answers
58 views

how to Lazy Load a Html page with about 8000 rows? [closed]

I am creating an HTML page in asp.net. Currently i am using Grid View with paging, but i want to remove it and add Paging on scroll functionality to this page instead. I get a data table of around ...
0
votes
0answers
20 views

Lazy load of images stops after quickview button is clicked

Figured a strange issue on our category Page. We have lazy image loading on all product images and also have quick view functionality for every product. But when we click on QuickView, close it and ...
0
votes
0answers
30 views

Proxy on data agnostic models

I am at the very beginning of a project (MVC and maybe SPA). I use Dapper and i have implemented my own Repositories and Unit of Work. *Some of us don't really like a full featured ORM (EF, ...
0
votes
1answer
48 views

simplest way to lazy load long <ul> with many <li>s

What is the simplest way to lazy load a long list ( ) of many (65+) list items? By lazy load I mean only load the list items that are visible in the viewport. Once a list item is visible in the ...
0
votes
0answers
16 views

jQuery Cycle with Lazy Load

I'm using Drupal 7 and created slides via jQuery Cycle. JS: $(document).ready(function() { $('#quicktabs-container-view__islerimiz__islerimiz > div').cycle({ fx: 'fade', next: ...
2
votes
3answers
41 views

how to disabled lazy loading for every instance of the dbContext?

I have created an edmx and in the designer.cs file I have 3 constructors. In each constructor I add the followiing line: this.Configuration.LazyLoadingEnabled = false; However when I create a new ...
0
votes
0answers
22 views

Lazy loaded images on PSTCollectionView are overwriting each other when I scroll

I am building an app that displays downloaded images from the web. I have two main requirements, I can't use ARC, and it's targeted towards iOS5 so no UICollectionView. The app loads 4 images at a ...
-1
votes
3answers
34 views

Lazy loading getting crash with Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:for

I'm loading UITableView cell images according to the lazy loading. here is my code for cell for row at indexpath else if (tableView.tag==4)//All Songs { cell4=(SongCell *)[tableView ...
0
votes
1answer
23 views

SqlAlchemy, deep eagerloading after initial load

Is it possible to initiate a deep eagerload after the initial object is loaded? E.g., the following is great: session.query(Foo).options(joinedload('bars.bazs')).all() But, what if I already have ...
0
votes
1answer
24 views

Dynamic lazyLoading - Entity Framework

I have a sqlSever database, reverse engineered with EF 5 By default, lazy Loading is disabled, I need to tell the context dynamically if related entities should be included or not (lazy loading) by ...
0
votes
1answer
24 views

only load the whole jquery stuff if a javascript condition is fullfilled

I would like to check, if there are more than tho large images on my php-generated forum-page, and only if so, then I would like to load jquery and do some jquerystuff. How can I dynamically load ...
1
vote
1answer
37 views

Hibernate OneToOne Lazy loading using FieldInterceptor issue

I have followed http://justonjava.blogspot.in/2010/09/lazy-one-to-one-and-one-to-many.html to make OneToOne relation lazy. It is working well in most of the cases. But in very few cases (which is ...
6
votes
1answer
84 views

NullPointerException when accessing lazy loaded collection within DAO method

I'm having a strange issue with Spring and Hibernate when running multiple threads in an application. I'm using spring 3.2.0.RELEASE and hibernate 4.1.12.Final. The issue is that for some objects, ...
0
votes
1answer
44 views

ExtJS4 MVC Lazy Loading

Help! I have an ExtJS 4.2 MVC application that will contain multitudes of various Views. However, each user will have access to a mere fraction of the entire set. Obviously I don't want to load all of ...
0
votes
1answer
24 views

Lazy loading large data

I am fetching data from various resources through ajax and displaying them on page, jQuery.ready() . And applying isotope on $(window).load(function(){});. Since writing from these number of ...
2
votes
3answers
53 views

Setup dictionary lazily

Let's say I have this dictionary in python, defined at the module level (mysettings.py): settings = { 'expensive1' : expensive_to_compute(1), 'expensive2' : expensive_to_compute(2), ... } ...
0
votes
0answers
18 views

Entity Framework 5 unnecessary loading of records

I'm using Entity Framework 5 (C#) and I'm finding that unnecessary loading of records in the following case is causing performance issues. I have created a messaging application, where messages are ...
0
votes
0answers
40 views

How to Lazy Load a static library?

I am working on a project that involves card swiping on different types of swipers from different vendors. These swipers have their own static libraries. I had no issues in integrating these libraries ...
0
votes
1answer
43 views

UITableViewCell change Image without calling Reload (LazyLoading)

I have looked at some sample LazyLoading to load the image whenever the cells are visible and the loading is complete. I noticed they do not call ReloadData How do I change the images without having ...
0
votes
1answer
33 views

UITableVIew reloadSection and reloadRowsAtINdexPaths Weird Animation

I am doing lazy loading for my UITableView so I am trying to reload individual rows as the images get updated. I am however running into a strange problem. When I call, [self.bubbleTableView ...
0
votes
0answers
14 views

Force loading of extra-lazy assoc in Doctrine2 for unit testing (no DQL)

I'm running into a small problem with unit testing in Symfony2. I have a few associations marked as extra-lazy, which is fine. However, when testing them, they don't get loaded (of course), which ...
0
votes
0answers
38 views

When using lazy dataTable another component does not get updated / 2nd component data is one request behind

I have a PrimeFaces p:dataTable and enabled lazy loading by implementing a LazyDataModel. The dataTable holds search results, so when doing a search request the search service only retrieves the ...

1 2 3 4 5 53
15 30 50 per page