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
12 views

Hibernate LAZY fetching issue

I have two classes Employee and Roles.Employee has many roles and each role has many Employees. So that I have used ManyToMany relationship by taking another table 'EMPLOYEE_ROLES'. In Employee ...
1
vote
0answers
22 views

Reading from files lazily in node.js

I've tried this simple code using node-lazy: var productStream = function (readstream) { return new Lazy(readstream) .lines.forEach(function (line) { console.log(count++); if (count ...
1
vote
1answer
50 views

How do you PRACTICALLY use lazy loading in your application?

I see a lot of places where expert delvelopers advice to LAZY load the persisted entities in order to save memory. The concept is quite clear: it is useless to load tons of information you're not ...
0
votes
0answers
9 views

Lazy load in ORM architecture with automatic query builder

It's more like a hypothesis then a question. I have searched the site, about ORM and lazy load. But almost all the questions are about some specific technology. I want to have a more abstract ...
-4
votes
1answer
21 views

TableView with multiple images in each cell

I am using SDWebimage to load images on my tableview Now my client wants to show multiple images in each cell like facebook app. (its number in random,minimum 1 image upto 6) How can I achieve ...
0
votes
2answers
43 views

when should I use lazy load and how lazy it should it be

If it goes about lazy load, i read often we should deny it, but why should i load data that maybe never used? as platform for discussion let's use an Costumer -Id -Title -FormOfAddress -FirstName ...
0
votes
2answers
53 views

dynamic vs lazy loading

I was only aware of dynamic proxy being used for AOP. However,it seems it can be used for lazy loading too. The following example from an articles is intended to demonstrate that. However I fail to ...
0
votes
0answers
21 views

PrimeFaces Export data from a Lazyloading DataTable

I want to export a dataTable (with Pagination) having LazyLoad DataModel during Report Generation. Problem : When I export, the report is getting generated page by page from Database and then ...
0
votes
1answer
12 views

Hibernate: how to map a one-to-one where both the entity and foreign key are accessible

I have an entity A which has a one-to-one mapping to another entity B and hibernate is lazy-loading. I want to have it so it is possible to retrieve entity B directly or just entity B's foreign key ...
1
vote
1answer
12 views

Again: EF 5 code first eager vs. lazy loading

There are a lot of questions about eager/lazy loading, but still there is one point that is not clear to me. I know the difference quite well, understand the "virtual" keyword and how to prevent lazy ...
1
vote
1answer
35 views

PrimeFaces LazyDataModel the entire page is blocked after rendering dataTable

The load() method of the LazyDataModel is called, and exits with success. The dataTable is rendered, but the only problem is that the whole page is blocked, the buttons doesn't give any response, ...
0
votes
0answers
18 views

java.lang.NullPointerException at org.hibernate.event.internal.DefaultFlushEntityEventListener.isUpdateNecessary

I have entity that implements org.hibernate.bytecode.internal.javassist.FieldHandled interface to accomplish lazy loading of single associations! When I delete the entity with this interface as in ...
-1
votes
0answers
9 views

Need a Help in Selecting a record using Ef 4

I want to select single or multiple records using lazy loading In Entity Framework, I got stuck pls help me in this I have my Controller Like This, and my table name is Event_Session response.Agenda ...
0
votes
0answers
6 views

LazeyCorpusLoader with simplified tags

i'm using nltk.corpus.utli.LazeyCorpusLoader to load treebank in pyhton2.7, with tag_mapping_function=simplify_wsj_tag, even after doing so im getting non-terminals like "NP-SBJ-78" is it normal? But ...
0
votes
0answers
16 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 2 3 4 5 106
15 30 50 per page