Supercharge Your Innovation With Domain-Expert AI Agents!

A configuration method and system for hibernate mapping configuration files

A configuration file and configuration method technology, applied in the computer field, can solve the problems of increased configuration file management and maintenance costs, decreased performance efficiency, and the inability of developers to specifically control mapping files according to the situation, so as to reduce loading, reduce system resources, and reduce The effect of occupying system resources

Active Publication Date: 2015-10-14
北京华通伟业科技发展有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The management method of centralized display configuration will cause a sharp increase in the management and maintenance cost of the configuration file in multi-person collaborative projects, and this problem is more prominent in the case of multiple projects; the management method of automatic directory configuration automatically loads the All mapping files cause developers to be unable to specifically control the loaded mapping files according to the situation. Loading redundant mapping files results in a decrease in performance efficiency, and may even load conflicting or wrong mapping files.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A configuration method and system for hibernate mapping configuration files
  • A configuration method and system for hibernate mapping configuration files
  • A configuration method and system for hibernate mapping configuration files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0030] In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "upper", "lower", "front", "rear", "left", "right", " The orientations or positional relationships indicated by "vertical", "horizontal", "top", "bottom", "inner" and "outer" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and Simplified descriptions, rather than indicating or implying that the device or element refe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for configuring a Hibernate mapping configuration file. The method comprises the following steps of creating configuration management files; classifying the Hibernate mapping configuration file; distributing each class of Hibernate mapping configuration files into the corresponding configuration management file, and selecting the configuration management file so as to load the Hibernate mapping configuration file in the selected configuration management file. According to the method for configuring the Hibernate mapping configuration file disclosed by the embodiment of the invention, the method has the advantages of being flexible to load the Hibernate mapping configuration file, convenient to manage, and low in maintenance cost; the resource occupied by the system can be effectively reduced, and a system for configuring the Hibernate mapping configuration file is also provided by the invention.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a configuration method and system for a Hibernate mapping configuration file. Background technique [0002] Hibernate is an open source framework for data operation layer. Its ORMaping idea enables developers to look at the database with object-oriented thinking, which greatly simplifies the complexity of operating the database. The mapping relationship between its business objects and the database is realized through Hibernate's mapping configuration file. However, there are mainly two configuration management methods at present: [0003] 1. Centralized configuration: configure all the mapping relationships to be managed in Hibernate's SessionFactory; [0004] 2. Directory configuration: Specify a directory in Hibernate's SessionFacotry, and Hibernate automatically loads the mapping relationship under the directory. [0005] The above two methods have the following disadvan...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 张晓斌侯君伟
Owner 北京华通伟业科技发展有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More