python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Caused by: java.sql.SQLException: Connection not established : Getting this error while processing more than 1k records
I am working on a spring boot application, which is processing more than 1k json messages in parallel and updating the database simultaneously with the respective fields.
Max 20 threads are running in...
m23
Votes: 0
Answers: 1
Closing MYSQL connection pool properly in Python
I am using mysql.connector.pooling to create a pooled group of connections to use in my multithreaded/multiprocessing based application. The following code creates the records as expect but I notice a...
Scrimpy
Votes: 0
Answers: 0
A simple function to query MSSQL then close the connection for use in quick scripts
I have a script that I want to be able to schedule to run periodically, and query a DB, open a connection, execute a query, then close the connection.
Trying to make the following code work:
const Que...
Jason 'Jaypoc' Bauman
Votes: 0
Answers: 0
How to parallelize a task in which there are requests to a db?
I have a kotlin application and a Spring JdbcTemplate and a Hikary connection pool with two connections.
And I have the task that is a good candidate for parallel execution.
It's a list of strings:
Li...
user2625402
Votes: 0
Answers: 0