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.

ORM Technologies vs JDBC?

My question is regarding ORM and JDBC technologies, on what criteria would you decide to go for an ORM technology …

java orm jdbc database-connection
java.sql.SQLRecoverableException: Closed Connection; State=08003; ErrorCode=17008

I am getting the below error while inserting some rows in oracle database table by using loops java my loop …

java jboss oracle11g database-connection connection-close
PostgreSQL: Could not connect to server: TCP/IP connections on port 5432

I have an error with PostgreSQL: SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host "…

postgresql database-connection database-server
Connection Pooling with Apache DBCP

I want to use Apache Commons DBCP to enable connection pooling in a Java Application (no container-provided DataSource in this). …

database-connection apache-commons-dbcp
Struggling with - Class not found exception: com.mysql.jdbc.Driver in JAVA

In Netbeans ide 7.0, I am facing this particular problem. I wrote the following line of code in my program Class.…

mysql jdbc database-connection classnotfoundexception netbeans7.0
How to connect to MariaDB on Synology Server from Visual Studio

I want to build an application that uses a database. I have a Synology server and I want to use …

visual-studio database-connection mariadb synology
Does closing Connection automatically close statement and resultset?

I know the safe pattern in Java is to close your ResultSet, Statement, and Connection in order in a finally …

java database database-connection prepared-statement
In Python, how to make sure database connection will always close before leaving a code block?

I want to prevent database connection being open as much as possible, because this code will run on an intensive …

python nested database-connection
sql open connection in read only mode

This question comes out of curiosity. I searched google for this but didn't get a clue. Suppose a user has …

mysql database-connection database-permissions
Host...not allowed error in ODBC connection, while connecting to an online MySQL database

I have downloaded MySQL ODBC Connector 5.1. Now am trying to setup the DSN. But am getting the error: Connection Failed : […

mysql odbc database-connection dsn