Multiple Datasources

How to connect multiple database servers using Hibernate?

Introduction This tutorial we show you how to connect multiple database servers using Hibernate framework. We know Hibernate is an ORM (Object Relational Mapping) framework for the automated persistence of objects in a Java application to the tables in a relational database. Here we will assume that an application will connect to MySQL and SQLServer […]

Define Multiple DataSources in Spring Boot

Introduction This tutorial will show you how we can define multiple datasources in Spring Boot application. We have seen how to define multiple datasources in Spring application, but here we will define multiple datasources in Spring Boot application. There may be situations where you need to define multiple datasources in Spring Boot application. For instance, […]

Define Multiple DataSources in Spring

This tutorial will show you how we can get a list of data sources using Spring framework. We will define multiple datasources in Spring. There may be situations where we need to define multiple datasources in Spring application. For this tutorial we will create a standalone maven project in Eclipse. If you already have an […]

Scroll to top