Multiples DATABASE Connection and Data shifting Using Spring Boots API
Multiple DataBase Connection and Data shifting using Spring boot API configuration Example.
Step-by-step Write Java files.
1. application.properties File for Add multiple DataBase Connection.
1. application.properties File for Add multiple DataBase Connection.
2. DBConfigDBNAME.JAVA Files for multiple DataBase Connection.
3. Job Scheduler.java file for Auto shift programm.
4. Entity Beans, Repository, Services Implementations for Binding and shifting Data.
- Create Spring Boot Java (Microservices)
Create Spring Boot Java (Microservices).
- Project Name: DataShiftingConfigSpringBoots
- Group: DataShifting-a143mk
- Artifactid: DataShifting-a143mk
- Description: DataBase Connection and Data shifting using Spring boot API.
- Package: DataShiftinga143mk
Select the technologies and library(Maven Dependency ) to be.
- spring-boot-configuration-processor
- ojdbc8
while creating the project pom.xml file and some maven dependency, main class is automatically created when web add any dependency like.
pom.xml
1. Configure application.properties
Create DataBase Configuration java Files :
DBConfigDATABASE1.java
DBConfigDATABASE2.java
DBConfigDATABASE3.java
Create Scheduler ClassCreate Scheduler for Auto run Program and import some Packages Scheduler.java as below:
Have you seen the previous post? You all know how to learn and create Entity Bean, Repository, Service Implementation in the project. If you don't know about it then go to the previous post and learn it.
Subscribe to:
Posts
(
Atom
)