Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
3k views

I have tried to research on a better way of calling two stored procedures on two different data sources with no luck. Here is my scenario, I have connection to two data sources, each data source with ...
blackbird's user avatar
  • 510
0 votes
0 answers
442 views

Running Spring Boot version 2.3.0 with two datasources configured. Am getting the below exception when trying to save an entity to the DB. This same code was working with single datasource. We have ...
hoken's user avatar
  • 1
3 votes
0 answers
133 views

here is a topic I have been struggling on for a small while now. For now, I decided to just limit the requests sizes, but I'd like to know why this happened. If you can take some time solving this ...
Alexandre Martin's user avatar
1 vote
0 answers
30 views

A have a User @Entity. I have all the necessary credentials for N databases in application.properties, say, in the following format: #First Database Connection db0.driver=org.postgresql.Driver db0.url=...
Михаил Медведский's user avatar
0 votes
1 answer
480 views

I have two different (entity1 and entity2) mapped (@OneToOne or @OneToMany) entities from two different database schemas (db1 and db2). If I try traditional ways, I got errors that are about "db1....
menoktaokan's user avatar
1 vote
1 answer
338 views

I followed this solution to run customer Django command programmatically, but it is limited for just one database connection. I have Django app configured with multiple database , is it possible to ...
farid Maghraoui's user avatar
0 votes
1 answer
175 views

I'm developing a web application using Node.js for backend(express) and React.js for frontend. I'm using PostgreSQL as database for almost every data storage. But now, i will add a real time chatting ...
2 7182818's user avatar
0 votes
1 answer
1k views

i'm looking for a "best-practice" guide/solution to the following situation. I have a Django project with a MySql DB which i created and manage. I have to import data, every 5 minutes, from ...
ap1393's user avatar
  • 107
0 votes
1 answer
331 views

I need to developed Django rest API with access to multiple databases and also need to authenticate from multiple databases ex - user1 - authenticate from database1 user table user2 - authenticate ...
Manjula Dangalla's user avatar
2 votes
0 answers
303 views

I have 2 entities from 2 different data sources. Purchase - data source A Merchant - data source B And they have one to one relationship. I defined the Purchase entity as below. I want when fetching ...
taile's user avatar
  • 2,776
1 vote
1 answer
1k views

I want to fetch data from multiple mysql databases which are on multiple servers. I'm using phpmyadmin (mysql). All the databases will be mysql database (same vendor) which are on multiple servers. ...
Rohit Swamy's user avatar
2 votes
1 answer
934 views

I have 2 databases: # Config DATABASES = { 'default': {}, 'readonly': {}, } In a background task, I would like to pull data from the "readonly" database, then save using the "...
Red Twoon's user avatar
  • 765
0 votes
1 answer
24 views

I've got two databases and I want to write data from another DB in the collection. I am connected to a mongoDB with mongoose.connect("mongodb://XXX:YYY@localhost:27017/realtime?authSource=admin&...
jan59's user avatar
  • 1
1 vote
1 answer
2k views

I'm trying to use multiple databases in my Django project i.e. MongoDB and MySQL. # settings.py DATABASES = { 'default': { 'NAME': 'sql_db', 'ENGINE': 'django.db.backends.mysql', ...
danish2694's user avatar
1 vote
0 answers
224 views

I'm attempting to trial setting up a system in Django whereby I specify the database connection to use at runtime. I feel I may need to go as low level as possible, but want to try and work within the ...
Micheal J. Roberts's user avatar
0 votes
1 answer
2k views

I am new to spring batch, and I'm encountering an issue when using multiple data source in my batch. Let me explain. I am using 2 databases in my server with Spring Boot. So far everything worked fine ...
north_animal's user avatar
0 votes
1 answer
5k views

Im new to spring framework and I Want to migrate data from One DB to another using Spring boot n Batch Im trying to read from an Mysql db with an item reader and write it to an Oracle db using an item ...
GoMohan's user avatar
  • 11
0 votes
1 answer
1k views

I created an application that copies data from one database to another one based on this tutorial. In fact, I need to make a method that inserts in two different databases transactional. Is this ...
Abderrahmen's user avatar
3 votes
0 answers
317 views

I want to add a secondary database to my RoR project, so I followed this: https://guides.rubyonrails.org/active_record_multiple_databases.html So now I have two databases: jobtitleio & profiles ...
TheSonNel's user avatar
2 votes
1 answer
828 views

I tried maybe 100 samples but multiple database never worked in my projects. Please help me. I have tired more codes from various sites, but there is last codes in my project which I got from official ...
Cem's user avatar
  • 83
1 vote
1 answer
987 views

I have more than 30 databases and I want to use connection pool in my python code. conn = mysql.connector.connect( host=MYSQL_HOST, user=MYSQL_USERNAME, passwd=MYSQL_PASSWORD, ...
vishal's user avatar
  • 104
2 votes
1 answer
2k views

I have encrypted spring JPA Entity data using custom Attribute converter. I was working nice with single(default) postgres datasource in spring boot. Now when I implemented multiple datasources ...
user3547783's user avatar
0 votes
1 answer
153 views

@SpringBootApplication @EnableJpaRepositories(basePackages=..,entityManagerRef=..) @ComponentScan("com.main", "com.external.jar") public class Application{ ... //methods defining primary datasource, ...
Abhinav Atul's user avatar
0 votes
0 answers
54 views

we are working on indexing data from multiple data sources using a single collection, for that specified data sources information in the data-config file and also updated managed-schema.xml by adding ...
Ravikiran's user avatar
1 vote
1 answer
470 views

I'm using Two databases in my project using default rails 6 support. database.yml:- default: &default adapter: postgresql migrations_paths: "db/migrate/primary" encoding: unicode ...
Simptive's user avatar
  • 1,007
0 votes
2 answers
8k views

I need your help. I have two databases (ex. PEN and PAPER) the tables of which need to be joined. Table name in db PEN is PEN.ORDER. Table name in db PAPER is PAPER.ORDER. Being on PAPER db I am ...
Farkhod Giyasov's user avatar
0 votes
1 answer
526 views

I want to create a second database to act as a backup. I've been following another SO question solution and other websites which leads to the same thing. I've added a new DB connection in .env and ...
Afiq Rosli's user avatar
0 votes
0 answers
179 views

I created an application with three apps account,Product and Post, i want to connect each app to different database but it is just not happening.Please tell me what i am doing wrong.This is the first ...
Chetan Goswami's user avatar
2 votes
0 answers
121 views

I am building a "Semi-synchronous master master replication". There are two databases in two different servers. People on both sides can read/write from/into these two databases. Servers (A & B), ...
Asif Naseer's user avatar
2 votes
0 answers
101 views

I want to fetch data from one source database and insert it into my targeted database using flask SQL alchemy Database_connection app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://root:root@...
Jayadeepu Dadi's user avatar
0 votes
0 answers
85 views

I have two databases, which I need to use in the same app of django asynchronously. I have referred following document : https://docs.djangoproject.com/en/3.0/topics/db/multi-db/ which basically ...
Aishwarya Mundada's user avatar
1 vote
0 answers
23 views

I want to use the users from a legacy database but keep everything else on the 'default' database. The main issue I have atm is that I can't get the database router to properly forward queries to the ...
Pithikos's user avatar
  • 20.6k
2 votes
1 answer
1k views

My Project has multiple databases having one master database and 35 other databases (having same schema and same configuration) Now currently we are using c3p0 connection pool and using jdbc for ...
Ankit's user avatar
  • 2,276
0 votes
2 answers
5k views

i need to create web-app (with spring+mysql) which should be a little like "MySQL Workbench online". In my application, Users will be able to create their own databases. I did it as follows: User ...
Harord's user avatar
  • 59
0 votes
1 answer
546 views

As I am working on a new platform (.net core 3 API) where every company has a separate database. I'm finding myself with an issue I can't find a solution to on the internet. Companies have different ...
Jesse's user avatar
  • 562
4 votes
3 answers
15k views

Is there a way to connect multiple MongoDB connections per module? app.module.ts @Module({ imports: [ MongooseModule.forRoot('mongodb://localhost/masterDB'), UserModule, ], controllers:...
Ank's user avatar
  • 188
1 vote
1 answer
3k views

I am building a web app (using Laravel but it's irrelevant), that will have multiple tenants with each tenant having its own database. The backend and frontend code end will be common. We all know ...
christostsang's user avatar
0 votes
1 answer
4k views

I have a spring boot REST API application for a project with 2 different setups ( =2 different jars). Both need to be realized, but I have no idea on how to do it or what the best way would be. Both ...
Matti VM's user avatar
  • 1,210
0 votes
1 answer
56 views

I have built a vb.net application to work on one computer, so I used SQL server compact database. Now I want the application to work over network with SQL server database without making anther copy ...
Ayman Mustafa's user avatar
1 vote
0 answers
267 views

It seems impossible to use sessions in my configuration of multiple databases. For example, I always need to type username and password when I enter the admin site. How do I make sessions work? I ...
Pavel  Shlepnev's user avatar
1 vote
1 answer
614 views

I am suspecting that transaction.atomic() does not commit my instance to the database during testing. The problem might comes from multiple databases from django.db import models from model_utils....
joe's user avatar
  • 9,653
3 votes
0 answers
195 views

We are developing a Rails app that will include an API for our customers. Let's say that with this API, they can create Puppies. Many services that provide an API, include a 'sandbox' mode, in which ...
Daniel Olivares's user avatar
0 votes
1 answer
494 views

I am trying to implement multiple database support for my django (version 1.11) app. For that purpose I have included in my settings.py: DATABASES = { 'default': { 'ENGINE': 'django.db....
Elgin Cahangirov's user avatar
1 vote
0 answers
51 views

I have a CouchDB scenario which involves: A business has multiple (10000's) discrete clients. I.e data is not shared between clients. Each client has a set of <10K documents. Clients have a 'life' ...
Townheadbluesboy's user avatar
1 vote
1 answer
2k views

I am using two databases, one to read data from and then write data to another. Below is my Router class and my changes to settings but am very new to this concept, can someone with more experience in ...
Kyle's user avatar
  • 59
1 vote
1 answer
734 views

I'm using python 3.6.5, flask 1.0.2, flask-admin, flask-sqlalchemy I have problems showing a View of a table from a second database, sqlalchemy bind configuration, model database, model view all seem ...
brivadeneira's user avatar
2 votes
0 answers
764 views

I have a node app that uses multiple databases. I created a separate connection and model for each database per the solution suggested here. However, when I run my Jest unit tests for testing the ...
omer's user avatar
  • 1,476
0 votes
2 answers
2k views

I'm prepering for my final exam with C# WPF using MVVM creating an query editor which needs to support multiple database motors, and wondering what's the best practice of having multiple database ...
Lowrater's user avatar
0 votes
2 answers
6k views

I have the same data data spread out over many identical databases. I want to combine all this data into one database ( well over a million records) I have connection objects and cursor objects from ...
John's user avatar
  • 19
7 votes
0 answers
6k views

In here I have configured two databases in mongodb. As described in this tutorial (link). So basically I override the MongoDataAutoConfiguration and MongoProperties implementations. The property yml ...
GeekySelene's user avatar

1 2
3
4 5
13