Top "Database-connection" questions

A database connection is a facility that allows client software to communicate with database server software, whether on the same machine or not.

How to set the max pool size or connection size for BasicDataSource in Spring Framework

I have a Spring application deployed in JBoss EAP server, using the following settings: <bean:bean id="userDataSource" class="…

spring database-connection connection-pooling apache-commons-dbcp
PostgreSQL: Warning: Console code page (437) differs from Windows code page (1252)

Using PostgreSQL when I connect to a db using \c testdb inside PostgreSQL Database SQL Prompt. I successfully connect to …

postgresql database-connection warnings
Avoiding "MySQL server has gone away" on infrequently used Python / Flask server with SQLAlchemy

How can Flask / SQLAlchemy be configured to create a new database connection if one is not present? I have an …

python mysql sqlalchemy flask database-connection
Why flutter application can't connect to internet when install app-release.apk? but normal in debug mode

In debug mode, everything looks good, get answers and data lists from my API. But after creating app-release.apk and …

api flutter debugging database-connection release
Configuring Hibernate with HikariCP

Because of problems with c3p0 connection pool, I want to see the alternatives and decide which one might be …

java hibernate database-connection c3p0 hikaricp
Oracle.DataAccess.Client.OracleException ORA-03135: connection lost contact

I have a .Net service that connects to an Oracle database on every request. It works fine at the beginning, …

c# .net oracle database-connection odp.net
Jetty 7 + MySQL Config [java.lang.ClassNotFoundException: org.mortbay.jetty.webapp.WebAppContext]

I've been trying to get a c3p0 db connection pool configured for Jetty, but I keep getting a ClassNotFoundException: 2010…

java mysql jetty database-connection c3p0
How many JDBC connections in Java?

I have a Java program consisting of about 15 methods. And, these methods get invoked very frequently during the exeuction of …

java performance jdbc database-connection
AWS RDS PostgreSQL error "remaining connection slots are reserved for non-replication superuser connections"

In the dashboard I see there are currently 22 open connections to the DB instance, blocking new connections with the error: …

sql postgresql amazon-web-services database-connection amazon-rds
How to properly close and open a Hibernate session?

I have the following method that inserts a large batch of records every few seconds. After some time of running …

hibernate transactions database-connection c3p0 hibernate-session