About 50 results
Open links in new tab
  1. Connect Java to a MySQL database - Stack Overflow

    The better practice is to install the physical JDBC driver JAR file in the server itself and configure the server to create a JDBC connection pool. Here's an example for Tomcat: How should I connect to …

  2. java - How to connect to Oracle using Service Name instead of SID ...

    I have a Java application that uses JDBC (via JPA) that was connecting to a development database using hostname, port and Oracle SID, like this: …

  3. spring - org.springframework.jdbc.CannotGetJdbcConnectionException ...

    Sep 28, 2020 · org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the …

  4. How to fix "Failed to obtain JDBC Connection" datasource error in my ...

    Sep 12, 2019 · Now i got a timezone error: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: The server time zone value 'Paris, Madrid (heure dété)' is unrecognized or …

  5. java - unable to obtain isolated JDBC connection - Stack Overflow

    Oct 22, 2025 · unable to obtain isolated JDBC connection [closed] Asked 4 months ago Modified today Viewed 446 times

  6. Unable obtain JDBC Connection with oracle 19c in java 1.8

    02/15/23 06:37:10 Initializing FTPInputProcess Database connection unavailable versions of project I'm using Java version:java 1.8 database is oracle 19c. The thing I have tried I updated the ojdbc5 jar to …

  7. java - IO Error: The Network Adapter could not establish the …

    May 7, 2023 · IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=iKQM6lBbSLiArrYuDqud8A==) if you are facing this issue 1- make sure you …

  8. java - JDBC connection to MSSQL server in windows authentication …

    May 11, 2013 · java.sql.DatabaseMetaData metaData = connection.getMetaData(); System.out.println("Driver version:" + metaData.getDriverVersion()); Add the VM argument for your …

  9. java - Closing JDBC Connections in Pool - Stack Overflow

    So, regardless of whether you're using a connection pool or not, you should always close all the JDBC resources in reversed order in the finally block of the try block where you've acquired them. In Java 7 …

  10. How to fix "Failed to obtain JDBC Connection" in spring jdbc

    Jul 8, 2022 · How to fix "Failed to obtain JDBC Connection" in spring jdbc Ask Question Asked 3 years, 7 months ago Modified 2 years, 1 month ago