Mathematical Model of the Mechanism for Generating SQL-questions in the ORM Layer of the Hibernate Framework
( Pp. 89-96)
More about authors
Goryachkin Boris S.
Cand. Sci. (Eng.), Associate Professor
Bauman Moscow State Technical University
Moscow, Russian Federation Yuliya V. Svetasheva; Bauman Moscow State Technical University; Moscow Russian Federation
Bauman Moscow State Technical University
Moscow, Russian Federation Yuliya V. Svetasheva; Bauman Moscow State Technical University; Moscow Russian Federation
Abstract:
Problem statement. Modern ORM frameworks, such as Hibernate, automate the process of interaction with databases, which significantly simplifies development. However, their performance, in particular the speed of generating SQL queries, can significantly depend on the structure of the input data, its volume, and caching settings. Insufficient understanding of these factors can lead to unreasonable delays in application operation. Goal. To study the influence of the structure and size of the input data on the process of generating SQL queries in the ORM layer of the Hibernate framework, and to evaluate the role of caching in optimizing execution time. Results. The study identified the key components involved in generating SQL queries. A mathematical model was developed that describes the query generation time depending on the input data and caching settings. The model allows predicting the performance of the ORM layer for various configurations. Practical significance. The results can be used to optimize the operation of applications using Hibernate, as well as to select optimal caching parameters and data organization. This is especially important for highly loaded systems where performance is critical.
How to Cite:
Goryachkin B.S., Svetasheva Yu.V. Mathematical Model of the Mechanism for Generating SQL-questions in the ORM Layer of the Hibernate Framework. Computational Nanotechnology. 2025. Vol. 12. No. 1. Pp. 89–96. (In Rus.). DOI: 10.33693/2313-223X-2025-12-1-89-96. EDN: MKTEUZ
Reference list:
Goryachkin B.S., Hanmurzin T.I. Improving the efficiency of working with a web resource due to the tools of a system programmer. Dynamics of Complex Systems – 21st Century. 2022. Vol. 16. No. 3. Pp. 26–39. DOI: 10.18127/j19997493-202203-03.
Grigoriev Yu.A. Estimation of execution time of SQL queries to databases. Mechanical Engineering and Computer Technologies. 2012. No. 01.
Gudilin D.S., Zvonarev A.E., Goryachkin B.S., Lychagin D.A. Relational database performance comparation. In: 5th International Youth Conference on Radio Electronics, Electrical and Power Engineering (REEPE). IEEE, 2023. Vol. 5. Pp. 1–5.
Eliseeva E.A., Goryachkin B.S., Vinogradova M.V. Research of DBMS performance when working with cluster databases based on ergonomic analysis. StudNet. 2022. Vol. 5. No. 4. Pp. 2888–2910.
Grigoriev Yu.A. Estimation of execution time of SQL queries to databases. Mechanical Engineering and Computer Technologies. 2012. No. 01.
Gudilin D.S., Zvonarev A.E., Goryachkin B.S., Lychagin D.A. Relational database performance comparation. In: 5th International Youth Conference on Radio Electronics, Electrical and Power Engineering (REEPE). IEEE, 2023. Vol. 5. Pp. 1–5.
Eliseeva E.A., Goryachkin B.S., Vinogradova M.V. Research of DBMS performance when working with cluster databases based on ergonomic analysis. StudNet. 2022. Vol. 5. No. 4. Pp. 2888–2910.
Keywords:
SQL, ORM, Hibernate, Java, SQL, ORM, Hibernate, caching, Java, generation, analysis, time.
Related Articles
Mathematical and Software of Computеrs, Complexes and Computer Networks Pages: 26-35 DOI: 10.33693/2313-223X-2023-10-2-26-35 Issue №23034
Analysis of the Algorithms of the Constituent Parts of the Compiler and its Optimization
compiler
program code
optimization
algorithm
analysis
Show more
1. Constitutional law; Constitutional judicial process; Municipal law Pages: 24-27 Issue №11343
THE FUNCTIONAL ANALYSIS AND ITS VALUE IN THE RESEARCH OF THE LEGAL PHENOMENA
function
analysis
a public authority
functional unity
Show more
Multiscale modeling for information control and processing Pages: 52-56 DOI: 10.33693/2313-223X-2020-7-3-52-56 Issue №17377
Analysis of the general equations of the transverse vibration of a piecewise uniform viscoelastic plate
analysis
approximate
vibrations
two-layer plate
boundary value problem
Show more
05.13.18 MATHEMATICAL MODELING, NUMERICAL METHODS AND COMPLEX PROGRAMS Pages: 40-45 Issue №12384
REGRESSIONS MODELS FOR FORECASTING OF EARTHQUAKES
variation
detector
charged particles
the magnitude
the epicenter
Show more
System Analysis, Information Management and Processing, Statistics Pages: 78-84 DOI: 10.33693/2313-223X-2024-11-1-78-84 Issue №95355
Algebraic Models for Data and Knowledge Representation in Modern Database Management Systems
SQL
algebraic models
database management systems
machine learning
artificial intelligence
Show more
Nanotechnology and Nanomaterials Pages: 60-69 DOI: 10.33693/2313-223X-2023-10-2-60-69 Issue №23034
Prospects for the Use of Film-Ceramic Photocatalysts for the Cultivation of Microalgae
microalgae
photocatalysts
composite films
reactors
generation
Show more
Multiscale modeling for information control and processing Pages: 57-61 DOI: 10.33693/2313-223X-2020-7-3-57-61 Issue №17377
Mathematical modelling of mountain shocks and earthquakes related to volcanism
gravity
energy
volcanism
analysis
approximate equation
Show more
2.ECONOMICS AND NATIONAL ECONOMY MANAGEMENT, ENTREPRENEURSHIP, MARKETING, MANAGEMENT Pages: 38-41 Issue №3758
Systemic approach for assessment of projects based on public-private partnership
PPP
public-private partnership
investment project
privacy policy
crisis
Show more
2. Human and civil rights and freedoms, guarantees of their provision Pages: 56-58 Issue №5096
LEGAL INTERESTS OF THE PERSONALITY: THEORY AND PRACTICE
interest
right
property
theory
analysis
Show more
Informatics and Information Processing Pages: 174-190 DOI: 10.33693/2313-223X-2024-11-2-174-190 Issue №119881
Pulse Tunnel Effect: Prospects for Scaling Photocatalysts
Pulsed tunnel effect
functional ceramics
film-ceramic composites
photocatalysts
composite films
Show more