Innovation Series: Advanced Science (ISSN 2938-9933, CNKI Indexed)

Volume 3 · Issue 6 (2026)
29
views
DOI number:
10.66521/2938-9933-2026062301

ORM-X: A Light-Weight Object-Relational Mapping Framework for MySQL

 

Sichen Tao

The Communication University of China, China

Corresponding Author: Sichen Tao (3209748898@qq.com)

 

Abstract: At present, ORM frameworks in the Java ecosystem cannot simultaneously satisfy the dual demands of high-concurrency business and rapid development, exhibiting a clear polarization. Semi-automatic ORM frameworks allow developers full control over SQL statements and make performance tuning straightforward, but they require repetitive coding for basic CRUD operations. The logic for assembling dynamic SQL is complex, resulting in high development redundancy. Fully automatic ORM frameworks simplify data operations and significantly accelerate development speed, but their automatically generated underlying SQL lacks transparency, easily leading to performance issues such as N+1 queries and redundant queries. Debugging and optimization in high-concurrency scenarios become extremely difficult. In addition, most mainstream existing frameworks are primarily designed for traditional monolithic architectures and provide inadequate support for modern microservice features such as cloud-native capabilities, multi-tenancy, and dynamic data sources, failing to meet the development needs of contemporary distributed projects [1-3]. Accordingly, this paper proposes a new ORM framework called ORM-X, which balances development efficiency and runtime performance while adapting to cloud-native architectures. Featuring a concise architecture, outstanding performance, and low system overhead, ORMX significantly improves the development efficiency of Java back-end systems and offers high practical application value.

 

Keywords: Object-Relational Mapping; ORM Framework; SQL; Java Backend

 

References

[1]
Ambler, S.W., Krumbein, F. and Sun, Y. 2003. Object-Relational Mapping (ORM): A Practical Approach. IBM Press. DOI:10.1002/9780470134921.
[2]
Begin, C., Reddy, S.P. and Li, J. 2009. MyBatis: SQL Mapping Framework for Java. Manning Publications.
[3]
Bauer, C., King, G. and Tudose, C. 2021. Java Persistence API (JPA) 3.0: Specification and Practice. In Proceedings of the 2021 17th International Conference on Computer Science and Control Systems (CSCS). IEEE, 412–417. DOI:10.1109/CSCS52396.2021.00076.
[4]
Jones, N., Gough, K. and Zhang, H. 2018. Abstract syntax trees in compiler design and ORM parsing. ACM SIGPLAN Notices. 53, 9 (2018), 27–34. DOI:10.1145/3274809.3274815.
[5]
Gray, J., Reuter, A. and Wang, L. 1993. Transaction Processing: Concepts and Techniques. Morgan Kaufmann Publishers Inc.
[6]
Pan, Z., Smith, R. and Garcia, M. 2012. Druid: A high-performance and monitoring-enabled JDBC connection pool. In Proceedings of Java EE Summit. Alibaba Open Source. https://github.com/alibaba/druid.
[7]
Walls, C., Vogels, W. and Liu, X. 2020. Spring in Action: Dependency Injection & Application Context, 6th ed. Manning Publications.
[8]
Bauer, C., King, G. and Gregory, G. 2015. Java Persistence with Hibernate, 2nd ed. Manning Publications.
[9]
Bauer, C., Odubăşteanu, C. and Li, Y. 2021. Entity lifecycle management in ORM systems. In Proceedings of the 2021 17th International Conference on Computer Science and Control Systems (CSCS). IEEE, 501–506. DOI:10.1109/CSCS52396.2021.00076.
[10]
Yadgar, G., Factor, M., Li, K. and Schuster, A. 2011. Management of multilevel, multiclient cache hierarchies. ACM Transactions on Computer Systems. 29, 2 (2011), 1–31. DOI:10.1145/1963559.1963561.
Download PDF
Innovation Series

Innovation Series is an academic publisher publishing journals and books covering a wide range of academic disciplines.

Contact

Francesc Boix i Campo, 7

08038 Barcelona, Spain