Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Lazy loading DAO members #2

Open
almgong opened this issue Jul 25, 2016 · 0 comments
Open

Lazy loading DAO members #2

almgong opened this issue Jul 25, 2016 · 0 comments

Comments

@almgong
Copy link
Contributor

almgong commented Jul 25, 2016

It is much faster to lazy load DAO members, such as initializing the set of Proteins associated with a given Gene, compared to implementing a standalone method that retrieves the result set manually.

Ideally, there should be methods to initialize individual lazy loaded members, and a general "load-all" method that loads all lazy loaded members. This is because some DAO classes can have multiple llm's but not all are needed at any given time (e.g. some applications just need the set of Diseases given a Gene, and not the DiseaseGene relationships).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant