CN106844678A - A kind of exchange method of Mybatis data sources and connection pool - Google Patents
A kind of exchange method of Mybatis data sources and connection pool Download PDFInfo
- Publication number
- CN106844678A CN106844678A CN201710054913.5A CN201710054913A CN106844678A CN 106844678 A CN106844678 A CN 106844678A CN 201710054913 A CN201710054913 A CN 201710054913A CN 106844678 A CN106844678 A CN 106844678A
- Authority
- CN
- China
- Prior art keywords
- objects
- mybatis
- connection
- pooleddatasource
- jndi
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention discloses the exchange method of a kind of Mybatis data sources and connection pool, it is related to field of computer technology, a container is created in internal memory and is designated as connection pool for depositing Connection objects, when operating database is needed, then Connection objects can be directly taken out from internal memory;Mainly comprise the following steps:Initialization drives, and creates Connection objects, configures Connection objects, and return to Connection objects.Using the present invention, it is necessary to during operating database, Connection objects can directly be taken out from internal memory, it is not necessary to create Connection objects again, the resource consumption of establishment Connection objects is dramatically saves on, effectively increase operational efficiency.
Description
Technical field
The present invention relates to field of computer technology, the side of interaction of specifically a kind of Mybatis data sources and connection pool
Method.
Background technology
MyBatis is the outstanding Persistence Layer Framework for supporting common SQL query, storing process and senior mapping.MyBatis disappears
Except the manual setting and the retrieval of result set of almost all of JDBC codes and parameter.MyBatis using simple XML or
Explain for configuration and original mappings, by POJOs (Plain Old the Java Objects, common Java of interface and Java
Object) it is mapped to the record in database.
Each MyBatis application program is mainly to use SqlSessionFactory examples, one
SqlSessionFactory examples can be obtained by SqlSessionFactoryBuilder.
SqlSessionFactoryBuilder can be from the predefined configuration class of an xml configuration file or
Example is obtained.
Due to create a process for Java.sql.Connection objects, bottom equivalent to Database
Communication connection, the plenty of time is needed in the process for setting up communication connection, and often foundation (is created after connecting
After Java.sql.Connection objects), a simple SQL statement is simply performed, then will discard, this is one
The very big wasting of resources, the cost for creating a Java.sql.Connection object is very huge.
The content of the invention
Demand and weak point of the present invention for the development of current technology, there is provided a kind of Mybatis data sources and connection pool
Exchange method.
A kind of Mybatis data sources of the present invention and the exchange method of connection pool, solve what above-mentioned technical problem was used
Technical scheme is as follows:A kind of Mybatis data sources and the exchange method of connection pool, a container are created in internal memory and are designated as connecting
Pond is connect for depositing Connection objects, when operating database is needed, then Connection directly can be taken out from internal memory
Object, has been greatly saved the resource consumption for creating Connection objects;
Mainly comprise the following steps:(1) initialization drives:Judge that driver drives whether to be already loaded into internal memory, if
Do not load, then can dynamically load driver classes, and instantiate a Driver object, use
DriverManager.registerDriver () method is registered in internal memory, for subsequently using;
(2) Connection objects are created:Created using DriverManager.getConnection () method and connected;
(3) Connection objects are configured:Set and whether submit autoCommit and isolation level to automatically
isolationLevel;
(4) Connection objects are returned:GetConnection () method is often called, can all be passed through
DriverManager.getConnection () returns to new java.sql.Connection examples.
Preferably, data source is divided into three kinds by MyBatis:UnpooledDataSource, PooledDataSource with
And the data source JNDI realized using JNDI;PooledDataSource, UnpooledDataSource are realized
Java.sql.DataSource interfaces, and PooledDataSource holds a reference of UnpooledDataSource,
When PooledDataSource needs to create java.sql.Connection instance objects, pass through
UnpooledDataSource is created.
Preferably, MyBatis data source DataSource objects are created during MyBatis is initialized:
In the XML configuration file of mybatis, use<dataSource>First usually disposition data source.
Preferably, MyBatis parses this XML configuration file in initialization, according to<dataSource>Type attributes
Create the data source DataSource of corresponding type:
Type=" POOLED ":MyBatis creates PooledDataSource examples
Type=" UNPOOLED ":MyBatis creates UnpooledDataSource examples
Type=" JNDI ":MyBatis searches DataSource examples from JNDI services.
Preferably, when creating SqlSession objects and performing SQL statement, MyBatis calls dataSource objects
To create java.sql.Connection objects.
Preferably, when<dataSource>Type attributes be configured to " UNPOOLED ", MyBatis is instantiated first
One UnpooledDataSourceFactory zinc plant engineering, then returns to one by .getDataSource () method
UnpooledDataSource instance objects are quoted.
Preferably, Connection objects are returned using the getConnection () method of PooledDataSource;
After Java.sql.Connection objects are rolled into PooledConnection objects by PooledDataSource, it is put into
Safeguarded in the container of PoolState types.
Preferably, the PooledConnection in connection pool points is two states by MyBatis:Idle condition and activity
State, the PooledConnection objects of both states are respectively stored in PoolState containers
In two List set of idleConnections and activeConnections;
When calling getConnection () method of PooledDataSource, preferentially gather from idleConnections
Take PooledConnection objects;If no, seeing whether activeConnections set has expired, if non-full,
PooledDataSource is created that a PooledConnection, is added in this set, and return;When being finished one
During Java.sql.Connection objects, MyBatis is rolled into PooledConnection objects and is put into
In idleConnections set.
Preferably, be tied to for data source with program mode (PM) using Java sentences by the data source datasource of JNDI types
JNDI, step is as follows:
1) an OracleDataSource object is created;
2) attribute of OracleDataSource objects is set;
3) a Properties object is created;
4) JNDI attributes are added to Properties objects using setProperties methods;
5) a JNDI Context object is created
6) Context objects are used by OracleDataSource object bindings to JNDI.
A kind of Mybatis data sources of the present invention are beneficial with what the exchange method of connection pool had compared with prior art
Effect is:Using the present invention, when what is returned using pooledDataSource.getConnection ()
During close () method of Java.sql.Connection objects, close () method of real Connection will not be called,
But this Java.sql.Connection object is put into connection pool;For the application for needing continually to be interacted with database
Program, when next time needs operating database, can directly take out Connection objects, it is not necessary to create again from internal memory
Connection objects, thus dramatically saves on the resource consumption for creating Connection objects.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with specific embodiment, to this hair
A kind of bright Mybatis data sources are further described with the exchange method of connection pool.
The present invention proposes the exchange method of a kind of Mybatis data sources and connection pool, a container is created in internal memory and is designated as
Connection pool, for depositing Connection objects.When operating database is needed, then directly can be taken out from internal memory
Connection objects;For the application program for needing continually to be interacted with database, it is not necessary to create Connection pairs again
As being greatly saved the resource consumption for creating Connection objects.
The exchange method of the Mybatis data sources and connection pool, main following content:
1) data source is divided into three kinds by MyBatis:The data source UNPOOLED of connection pool is not used, uses the number of connection pool
According to source POOLED, and the data source JNDI realized using JNDI;
Accordingly, definition realizes Java.sql.DataSource interfaces respectively inside MyBatis
UnpooledDataSource, PooledDataSource class represent the data source of UNPOOLED, POOLED type.
PooledDataSource, UnpooledDataSource realize Java.sql.DataSource interfaces, and
And PooledDataSource holds a reference of UnpooledDataSource, when PooledDataSource needs to create
During java.sql.Connection instance objects, created by UnpooledDataSource;PooledDataSourc is only
It is to provide a kind of caching connection pool mechanism.
2) MyBatis data source DataSource objects are created during MyBatis is initialized:Mybatis's
In XML configuration file, use<dataSource>First usually disposition data source;
MyBatis parses this XML configuration file in initialization, according to<dataSource>Type attributes create corresponding
Type data source DataSource:
Type=" POOLED ":MyBatis creates PooledDataSource examples
Type=" UNPOOLED ":MyBatis creates UnpooledDataSource examples
Type=" JNDI ":MyBatis searches DataSource examples from JNDI services, is then back to use;
Above-mentioned three kinds of different types of type, then have corresponding following dataSource factories:
POOLED PooledDataSourceFactory
UNPOOLED UnpooledDataSourceFactory
JNDI JndiDataSourceFactory。
3) when creating SqlSession objects and performing SQL statement,
MyBatis calls dataSource objects to create java.sql.Connection objects, i.e.,
When the establishment of java.sql.Connection objects is deferred to execution SQL statement always.
4) when<dataSource>Type attributes be configured to " UNPOOLED ", MyBatis instantiates one first
UnpooledDataSourceFactory zinc plant engineerings, then return to one by .getDataSource () method
UnpooledDataSource instance objects are quoted.
Mainly comprise the following steps:(1) initialization drives:Judge that driver drives whether to be already loaded into internal memory, if
Do not load, then can dynamically load driver classes, and instantiate a Driver object, use
DriverManager.registerDriver () method is registered in internal memory, for subsequently using;
(2) Connection objects are created:Created using DriverManager.getConnection () method and connected;
(3) Connection objects are configured:Set and whether submit autoCommit and isolation level to automatically
isolationLevel;
(4) Connection objects are returned:GetConnection () method is often called, can all be passed through
DriverManager.getConnection () returns to new java.sql.Connection examples.
Embodiment:
Mybatis data sources described in the present embodiment and the exchange method of connection pool, use PooledDataSource's
GetConnection () method returns to Connection objects;PooledDataSource will
After Java.sql.Connection objects are rolled into PooledConnection objects, it is put into the container of PoolState types
Safeguard.
PooledConnection in connection pool points is two states by MyBatis:Idle condition (idle) and activity
State (active), the PooledConnection objects of both states are respectively stored in PoolState containers
In two List set of idleConnections and activeConnections;
The PooledConnection objects being not used of current idle are placed to idleConnections set
In;When calling getConnection () method of PooledDataSource, preferentially from idleConnections collection conjunction
PooledConnection objects.When a Java.sql.Connection object is finished, MyBatis is rolled into
PooledConnection objects are put into idleConnections set.
The PooledConnection objects for being used of current active are placed to activeConnections set
In;When calling getConnection () method of PooledDataSource, preferentially taken from idleConnections set
PooledConnection objects, if not having, see whether activeConnections set has expired, if non-full,
PooledDataSource is created that a PooledConnection, is added in this set, and return.
It can be seen that the exchange method for passing through Mybatis data sources described in the present embodiment and connection pool, when using
The close () method for the Java.sql.Connection objects that pooledDataSource.getConnection () is returned
When, close () method of real Connection will not be called, but this Java.sql.Connection object is put into company
In connecing pond.
Data source is tied to JNDI by the data source datasource of JNDI types using Java sentences with program mode (PM), step
It is rapid as follows:
1) an OracleDataSource object is created
OracleDataSource myODS=new OracleDataSource ();
2) attribute of OracleDataSource objects is set
myODS.setServerName(“localhost“);
myODS.setDatabaseName(“ORCL“);
myODS.setPortNumber(1521);
myODS.setDriverType(“thin“);
myODS.setUser(“admin“);
myODS.setPassword(“helloworld“);
3) a Properties object is created
Java.util.Properties myProperties=new Properties ();
4) JNDI attributes are added to Properties objects, are added JNDI attributes using setProperties methods
To Properties objects;
myProperties.setProperties(Context.INITIAL_CONTEXT_FACTORY,
“com.sun.jndi.fscontext.RefFSContextFactory“);
myProperties.setProperties(Context.PROVIDER_URL,“file:C:/TEMP“);
Context.INITIAL_CONTEXT_FACTORY-->The attribute is specified and stores JNDI using JNDI file system
Binding information file.
Context.PROVIDER_URL------------->Binding file is stored in the attribute specified file system
Catalogue;
5) a JNDI Context object is created
Context myContext=new InitialContext (myProperties);
InitialContext constructors create a Context object, in the initial JNDI names of this object reference
Hereafter;
6) Context objects are used by OracleDataSource object bindings to JNDI;Used here as Context objects
Bind () method receive two parameters:One is the name of JNDI objects, and two is the Java object to be bound:
myContext.bind(“myNamedODS“,myODS)
Six steps more than, you can found in the catalogue that Context.PROVIDER_URL attributes are specified
.bindings file.Details of this .binding file comprising data source.After, it is possible to use myNamedODS this name
Claim to search this JNDI object, and database is connected using it.
The exchange method of Mybatis data sources described in the present embodiment and connection pool, its specific implementation process is mainly included such as
Lower step:1) Java.sql.Connection objects, 2 are obtained) reclaim java.sql.Connection objects.
The step 1) to obtain Java.sql.Connection objects refer to that popConnection () method is from connection pool
One available PooledConnection object of middle return, then recalls getProxyConnection () method, finally
Return to Connection objects.Detailed process is as follows:
Look first at whether the PooledConnection objects under available free state, if so, then directly return to one can use
PooledConnection objects;
Whether otherwise check the PooledConnection ponds activeConnections of activity has expired:If non-full, wound
A new PooledConnection object is built, is then put into activeConnections ponds, return again to this
PooledConnection objects;
If having expired, whether the PooledConnection objects for entering in activeConnections ponds at first are seen
It is expired:If expired, this object is removed from activeConnections ponds, then create one it is new
PooledConnection objects, are added in activeConnections, then return to this object;
If not out of date, thread is waited, and in getConnection () method of PooledDataSource, is first called
PopConnection () method of class PooledDataSource returns to a PooledConnection object, then calls
The getProxyConnection () of PooledConnection returns to Connection objects.
The step 2) java.sql.Connection objects are reclaimed,
Typically when Connection objects have been used in program, if not using database connection pool, can call
Connection.close () method, closes connection connections, discharges resource.
It is one agent object of real Connection Object Creations, all of method of agent object in the present embodiment
All it is that the method for calling corresponding real Connection objects is realized;When agent object performs close () method, will
Connection objects are added in connection pool, never call close () method of real Connection objects.
PooledConnection is the parcel that java.sql.Connection instance objects are connected to real database
Device;The PoolState internal maintenances of the PooledDataSource of MyBatis pair as if PooledConnection objects.
Hold a real database connection java.sql.Connection instance objects in PooledConnection objects, and
One agency of java.sql.Connection.
That call that getConnection () method of PooledDataSource returns is this proxyConnection
Object.When any method on the proxyConnection objects is called, PooledConnection objects can be all called
Interior invoke () method.
As the close () of the Connection objects returned using pooledDataSource.getConnection ()
During method, this Connection object is put into connection pool, close () method of real Connection will not be called.
Above-mentioned specific embodiment is only specific case of the invention, and scope of patent protection of the invention is included but is not limited to
Above-mentioned specific embodiment, any person of an ordinary skill in the technical field that meet claims of the present invention and any
The appropriate change or replacement done to it, should all fall into scope of patent protection of the invention.
Claims (9)
1. the exchange method of a kind of Mybatis data sources and connection pool a, it is characterised in that container is created in internal memory and is designated as connecting
Pond is connect for depositing Connection objects, when operating database is needed, then Connection directly can be taken out from internal memory
Object;
Mainly comprise the following steps:(1) initialization drives:Judge that driver drives whether to be already loaded into internal memory, if not adding
Carry, then can dynamically load driver classes, and instantiate a Driver object, use
DriverManager.registerDriver () method is registered in internal memory, for subsequently using;
(2) Connection objects are created:Created using DriverManager.getConnection () method and connected;
(3) Connection objects are configured:Set and whether submit autoCommit and isolation level isolationLevel to automatically;
(4) Connection objects are returned:GetConnection () method is often called, can all be passed through
DriverManager.getConnection () returns to new java.sql.Connection examples.
2. a kind of exchange method of Mybatis data sources and connection pool according to claim 1, it is characterised in that MyBatis
Data source is divided into three kinds:UnpooledDataSource, PooledDataSource and the data source realized using JNDI
JNDI;PooledDataSource, UnpooledDataSource realize Java.sql.DataSource interfaces, and
PooledDataSource holds a reference of UnpooledDataSource, when PooledDataSource needs to create
During java.sql.Connection instance objects, created by UnpooledDataSource.
3. the exchange method of a kind of Mybatis data sources and connection pool according to claim 2, it is characterised in that
MyBatis creates MyBatis data source DataSource objects during initializing:In the XML configuration file of mybatis
In, use<dataSource>First usually disposition data source.
4. a kind of exchange method of Mybatis data sources and connection pool according to claim 3, it is characterised in that MyBatis
This XML configuration file is parsed in initialization, according to<dataSource>Type attributes create the data source of corresponding type
DataSource:
Type=" POOLED ":MyBatis creates PooledDataSource examples
Type=" UNPOOLED ":MyBatis creates UnpooledDataSource examples
Type=" JNDI ":MyBatis searches DataSource examples from JNDI services.
5. the exchange method of a kind of Mybatis data sources and connection pool according to claim 4, it is characterised in that work as establishment
SqlSession objects and when performing SQL statement, MyBatis calls dataSource objects to create
Java.sql.Connection objects.
6. the exchange method of a kind of Mybatis data sources and connection pool according to claim 5, it is characterised in that when<
dataSource>Type attributes be configured to " UNPOOLED ", MyBatis instantiates one first
UnpooledDataSourceFactory zinc plant engineerings, then return to one by .getDataSource () method
UnpooledDataSource instance objects are quoted.
7. the exchange method of a kind of Mybatis data sources and connection pool according to claim 6, it is characterised in that use
The getConnection () method of PooledDataSource returns to Connection objects;PooledDataSource will
After Java.sql.Connection objects are rolled into PooledConnection objects, it is put into the container of PoolState types
Safeguard.
8. a kind of exchange method of Mybatis data sources and connection pool according to claim 7, it is characterised in that MyBatis
It is two states by the PooledConnection in connection pool points:Idle condition and active state, both states
PooledConnection objects be respectively stored in idleConnections in PoolState containers and
In two List set of activeConnections;
When calling getConnection () method of PooledDataSource, preferentially from idleConnections collection conjunction
PooledConnection objects;If no, seeing whether activeConnections set has expired, if non-full,
PooledDataSource is created that a PooledConnection, is added in this set, and return;When being finished one
During Java.sql.Connection objects, MyBatis is rolled into PooledConnection objects and is put into
In idleConnections set.
9. a kind of exchange method of Mybatis data sources and connection pool according to claim 8, it is characterised in that JNDI classes
Data source is tied to JNDI by the data source datasource of type using Java sentences with program mode (PM), and step is as follows:
1) an OracleDataSource object is created;
2) attribute of OracleDataSource objects is set;
3) a Properties object is created;
4) JNDI attributes are added to Properties objects using setProperties methods;
5) a JNDI Context object is created
6) Context objects are used by OracleDataSource object bindings to JNDI.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710054913.5A CN106844678A (en) | 2017-01-24 | 2017-01-24 | A kind of exchange method of Mybatis data sources and connection pool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710054913.5A CN106844678A (en) | 2017-01-24 | 2017-01-24 | A kind of exchange method of Mybatis data sources and connection pool |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106844678A true CN106844678A (en) | 2017-06-13 |
Family
ID=59119840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710054913.5A Pending CN106844678A (en) | 2017-01-24 | 2017-01-24 | A kind of exchange method of Mybatis data sources and connection pool |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106844678A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108121542A (en) * | 2017-11-17 | 2018-06-05 | 广东睿江云计算股份有限公司 | A kind of collocation method of the SQL statement based on MyBatis, system |
CN109471896A (en) * | 2018-11-01 | 2019-03-15 | 数贸科技(北京)有限公司 | Data source information dynamic altering method and device |
CN110019298A (en) * | 2017-10-31 | 2019-07-16 | 北京国双科技有限公司 | Data processing method and device |
CN112307021A (en) * | 2020-10-23 | 2021-02-02 | 北京锐安科技有限公司 | Data processing method, device, equipment and storage medium |
CN113111239A (en) * | 2021-04-08 | 2021-07-13 | 北京联创新天科技有限公司 | Universal database operation method, device and storage medium thereof |
CN113806813A (en) * | 2021-08-27 | 2021-12-17 | 上海得帆信息技术有限公司 | Data isolation switching method and system for multiple data sources |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605727A (en) * | 2013-11-19 | 2014-02-26 | 浪潮电子信息产业股份有限公司 | Connection pool based efficient multiuser database access optimization method and framework |
CN101699397B (en) * | 2009-10-09 | 2015-09-16 | 上海宝信软件股份有限公司 | Realize the method that Java and XML data are bound |
CN105677693A (en) * | 2015-09-18 | 2016-06-15 | 联动优势科技有限公司 | Method and device for accessing databases |
-
2017
- 2017-01-24 CN CN201710054913.5A patent/CN106844678A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101699397B (en) * | 2009-10-09 | 2015-09-16 | 上海宝信软件股份有限公司 | Realize the method that Java and XML data are bound |
CN103605727A (en) * | 2013-11-19 | 2014-02-26 | 浪潮电子信息产业股份有限公司 | Connection pool based efficient multiuser database access optimization method and framework |
CN105677693A (en) * | 2015-09-18 | 2016-06-15 | 联动优势科技有限公司 | Method and device for accessing databases |
Non-Patent Citations (2)
Title |
---|
亦山: "《深入理解mybatis原理》 Mybatis数据源与连接池", 《HTTPS://BLOG.CSDN.NET/U010349169/ARTICLE/DETAILS/37671851》 * |
海风的博客: "数据源与JNDI", 《HTTP://BLOG.SINA.COM.CN/S/BLOG_4C8158170100AFAN.HTML》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110019298A (en) * | 2017-10-31 | 2019-07-16 | 北京国双科技有限公司 | Data processing method and device |
CN108121542A (en) * | 2017-11-17 | 2018-06-05 | 广东睿江云计算股份有限公司 | A kind of collocation method of the SQL statement based on MyBatis, system |
CN108121542B (en) * | 2017-11-17 | 2021-07-06 | 广东睿江云计算股份有限公司 | MyBatis-based SQL statement configuration method and system |
CN109471896A (en) * | 2018-11-01 | 2019-03-15 | 数贸科技(北京)有限公司 | Data source information dynamic altering method and device |
CN112307021A (en) * | 2020-10-23 | 2021-02-02 | 北京锐安科技有限公司 | Data processing method, device, equipment and storage medium |
CN113111239A (en) * | 2021-04-08 | 2021-07-13 | 北京联创新天科技有限公司 | Universal database operation method, device and storage medium thereof |
CN113111239B (en) * | 2021-04-08 | 2024-03-29 | 北京联创新天科技有限公司 | General database operation method, device and storage medium thereof |
CN113806813A (en) * | 2021-08-27 | 2021-12-17 | 上海得帆信息技术有限公司 | Data isolation switching method and system for multiple data sources |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844678A (en) | A kind of exchange method of Mybatis data sources and connection pool | |
CN103425462B (en) | A kind of method and apparatus of workflow data persistence | |
US9256413B2 (en) | Automatic identification of services | |
US8181151B2 (en) | Modeling and managing heterogeneous applications | |
CN100578509C (en) | Long lasting implementing method for data | |
US7962920B2 (en) | Providing a business logic framework | |
CN1967485B (en) | Method and system for realizing J2EE application | |
CN101924798B (en) | Transparent Android component loading method and system based on file types | |
CN104699537B (en) | Control method and movable component dispatching method and its corresponding device | |
US20070234371A1 (en) | System and method for enterprise application interactions | |
US20010007984A1 (en) | Client-server computing software architecture | |
CN104216912A (en) | Method and device for achieving non-intrusive service form workflow | |
WO2016123921A1 (en) | Http protocol-based multiple data resource data processing method and system | |
CN104750528B (en) | A kind of assembly management method and apparatus in Android program | |
CA2302286A1 (en) | Object to relational database mapping infrastructure in a customer care and billing system | |
CN103546440B (en) | A kind of client initiates the affairs method and system of affairs | |
US10802801B1 (en) | Grand unified processor | |
US20150301875A1 (en) | Persisting and managing application messages | |
CN105867907A (en) | JSS multi-layer Web development framework design method removing service coupling | |
US20130086118A1 (en) | Systems and methods for object to relational mapping extensions | |
US20130339488A1 (en) | Enterprise services framework for mobile devices | |
CN104699536B (en) | Moving component process space distribution method and its corresponding device | |
CN107085605A (en) | Method, device and the electronic equipment packed for data | |
CN105446819B (en) | A kind of service connection system and its design method | |
CN113254317A (en) | Automatic index generation method and system based on bytecode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170613 |
|
RJ01 | Rejection of invention patent application after publication |