Abstract

The author has studied Hibernate cache technique. Hibernate cache technique has the primary cache, the secondary cache, the query cache, etc., which are for different applications. The primary cache is built inside Hibernate framework. It cannot be deleted. It comes or goes with Hibernate Session. The secondary cache is a pluggable and configurable component provided by a third party. It caches the data once accessed. The query cache is a special secondary cache that focuses on HQL query results. The author used a third-party cache component "EhCache" to cache the data with the secondary cache and the query cache during the development of her project. The research has shown that for Hibernate Criteria component, the improvement of query efficiency with the secondery cache decreases with the increase of the data quantity in the database table. If the query data quantity is relatively large, the secondary cache can play a negative impact on the application programs.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.