Android database lazy loading method based on proxy mode
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- AEROSPACE INFORMATION
- Publication Date
- 2015-06-17
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of computer networks, in particular to a proxy mode-based android database delay loading method. Background technique
[0002] ORMlite is a common ORM framework for operating sqlite databases. Due to its own characteristics, embedded devices need to be more cautious in utilizing system resources. Optimizations for ORMLite operations are also gaining attention.
[0003] When a persistent entity is initialized from the database, are the collection properties of the entity initialized along with the persistent class? If the collection attribute contains hundreds of thousands or even millions of records, the performance will drop sharply if all the collection attributes are fetched while the persistent entity is initialized. Contents of the invention
[0004] The object of the present invention is to provide a delay loading method for an android database based on a proxy mode, which can effectively improve t...