Access method and device of database
An access method and data access layer technology, applied in database distribution/replication, electronic digital data processing, structured data retrieval, etc., can solve problems such as low efficiency of database access, time-consuming creation process, error-prone database access statements, etc. Achieve the effect of improving access efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0064] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
[0065] At present, when accessing a database, database accessing statements need to be created manually, which makes the database accessing efficiency low. Therefore, an embodiment of the present invention provides a method for accessing a database. This method utilizes ORM (Object Relationship Mapping, object-relational mapping) to access the database. ORM maps the data tables in the database to the entity classes in the object-oriented system, so that each record in the data table corresponds to an object in the entity class; Therefore, the database can be accessed in an object-oriented manner without paying attention to issues such as database connection, concurrency, and transactions, thereby improving the access efficiency of the d...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 