Comparison of the configuration and capabilities of ORM libraries for Android


The article discusses configuration and capabilities of object-relational mapping libraries for the Android operating system. It also presents previous comparisons of ORMs for mobile systems. Configuration methods and supported mappings from java to database types are described.


orm; android; sqlite

[1] Gartner Says Worldwide Sales of Smartphones Grew 7 Percent in the Fourth Quarter of 2016 [15.02.2017]
[2] SQLiteDatabase [20.05.2017]
[3] Z. Rosiek, Mapowanie obiektowo relacyjne (ORM) – czy tylko dobra idea?, Zeszyty Naukowe Warszawskiej Wyższej Szkoły Informatyki, nr 4, 2010.
[4] S. Cvetković, D. Janković, A Comparative Study of the Features and Performance of ORM Tools in a .NET Environment, W: Dearle A., Zicari R.V. (eds) Objects and Databases. ICOODB 2010. Lecture Notes in Computer Science, vol 6348. Springer, Berlin, Heidelberg.
[5] K. Kussainov, B. Kumalakov, Mobile Data Store Platforms: Test Case based Performance Evaluation, 8th International Joint Conference on Knowledge Discovery, Knowledge Engineering and Knowledge Management, At Porto, Portugal, Volume: 3.
[6] J. Pu, Z. Song, E. Tilevich, Understanding the Energy, Performance, and Programming Effort Trade-Offs of Android Persistence Frameworks, 2016 IEEE 24th International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems (MASCOTS).
[7] P. Van Zyl, D.G. Kourie, A. Boake, Comparing the Performance of Object Databases and ORM Tools, Proceeding of South African Institute for Computer Scientists and Information Technologists, 1-11, 2006.
[8] M. Kopteff, “The usage and performance of object databases compared with orm tools in a java environment.” [Online].
[9] S.N. Bhatti, Z.H. Abro, F. Rufabro, Performance Evaluation of Java Based Object Relational Mapping Tools, Mehran University Research Journal of Engineering and Technology, 32(2):159--166, 2013.
[10] G. Procaccianti, P. Lago, W. Diesveld, Energy Efficiency of ORM Approaches: an Empirical Evaluation, Proceeding ESEM'16 Proceedings of the 10th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement.
[11] Realm Mobile Database [20.05.2017]
[12] Oficjalna strona projektu SquiDB [10.07.2017]
[13] DZone Survey Shows JPA Dominates Java Persistence [23.10.2015]
[14] Dokumentacja OrmLite, Persisted Data Types [15.09.2017]
[15] Dokumentacja GreenDAO, Custom Types [15.09.2017].

Published : 2018-03-30

Serwin, T. (2018). Comparison of the configuration and capabilities of ORM libraries for Android. Journal of Computer Sciences Institute, 6, 42-46.

Tomasz Serwin
Institute of Computer Science, Lublin University of Technology, Nadbystrzycka 36B, 20-618 Lublin, Poland  Poland