Top "Connection" questions

Refers to a connection used to transfer data between two endpoints, such as between a client and a web, database, web service or other server.

Is it safe to use a static java.sql.Connection instance in a multithreaded system?

I'm running a web application on Tomcat. I have a class that handles all DB queries. This class contains the …

java multithreading servlets jdbc connection
Alert box when no internet connection - Phonegap

I'm trying to get a pop-up to, well, pop up when there is no internet connection on the device. I …

cordova connection alert
Close connection and statement finally

Which is better for finally block: finally { try { con.close(); stat.close(); } catch (SQLException sqlee) { sqlee.printStackTrace(); } } Or: finally { try { …

java jdbc connection try-catch finally
Cannot connect from Classic ASP to SQL Server 2008 R2 using SQL Native Client (Windows 7 - IIS7)

I'm able to connect to SQL server 2008 R2 when I use Provider=SQLOLEDB in my connection string. But when I …

sql-server-2008 iis-7 asp-classic connection sql-server-native-client
How to limit speed of internet connection on Android emulator?

I need to test app for work with slow internet connection. How to simulate slow internet connection on Android emulator?

android performance connection
Help troubleshooting SqlException: Timeout expired on connection, in a non-load situation

I have a server hosting a website of mine that has almost zero-traffic. A few people (< 20) enter the site …

sql-server-2008 timeout connection connection-timeout
When does Entity Framework open and close Database Connections?

When I instance my "Entities" object in Entity Framework, and make a couple of queries using that Entities object, what …

entity-framework .net-3.5 connection
Python psycopg2 timeout

I have a huge problem: There seems to be some hardware problems on the router of the server my python …

python postgresql connection timeout psycopg2
PostgreSQL Connection Refused

I have installed PostgreSQL. However everytime I try to connect through PGAdmin or through psql it gives me the below …

postgresql server connection localhost connection-refused
How to solve the 10054 error

I'm using an app provided by some website to collect some data from the website periodly, say, 30s a time. …

python connection response