Automatic data migration method and apparatus supporting multiple data sources
A multi-data source and data technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problem that multiple databases or servers cannot obtain results and transfer them to another database or server, and do not support Multiple different database data, SQL statement field definitions, different data formats, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0030] The existing Java mainstream persistence layer frameworks are Hibernate and MyBatis, and these two frameworks are based on JDBC encapsulation, which simplifies the complex configuration of JDBC for different database types.
[0031] For example, for Hibernate, it works as follows:
[0032] A. Through Configuration config=new Configuration().configure(); / / Read and parse the hibernate.cfg.xml configuration file;
[0033] B. By <mapping resource="com / xx / User.hbm in hibernate.cfg.xml
[0034] .xml" / >; read and parse the mapping information
[0035] C. Through SessionFactory sf=config.buildSessionFactory(); / / Create SessionFactory
[0036] D. Session session=sf.openSession(); / / Open Sesssion
[0037] E. Transaction tx=session.beginTransaction(); / Create and start transaction Transation;
[0038] F, persistent operate; operating data, persistent operation
[0039] G. tx.commit(); / / commit the transaction
[0040] H. Close the Session; close the SesstionFactory.
[0041] Fo...
PUM
![No PUM](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka.patsnap.com/ssr/23.2.0/_nuxt/application.06fe782c.png)
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com