java.sql.SQLException: Invalid state, the Connection object is closed.

GitHub | jdoose | 3 months ago
  1. 0

    Documentation: Limitation in SQL Server: ALTER DATABASE SINGLE_USER not supported

    GitHub | 3 months ago | jdoose
    java.sql.SQLException: Invalid state, the Connection object is closed.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 66#216778210

    GitHub | 7 months ago | kvallish
    schemacrawler.schemacrawler.SchemaCrawlerException: Exception retrieving schema information: Invalid state, the Connection object is closed.
  4. 0

    Cleanup hangs on MS SQL in case of hundreds/thousands dependent builds

    YouTrack | 7 years ago
    org.springframework.transaction.TransactionSystemException: Could not roll back JDBC transaction; nested exception is java.sql.SQLException: Invalid state, the Connection object is closed.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      Invalid state, the Connection object is closed.

      at net.sourceforge.jtds.jdbc.JtdsConnection.checkOpen()
    2. jTDS
      JtdsConnection.setAutoCommit
      1. net.sourceforge.jtds.jdbc.JtdsConnection.checkOpen(JtdsConnection.java:1744)
      2. net.sourceforge.jtds.jdbc.JtdsConnection.setAutoCommit(JtdsConnection.java:2276)
      2 frames
    3. ${project.artifactId}
      Flyway.migrate
      1. org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:96)
      2. org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:173)
      3. org.flywaydb.core.Flyway$1.execute(Flyway.java:959)
      4. org.flywaydb.core.Flyway$1.execute(Flyway.java:917)
      5. org.flywaydb.core.Flyway.execute(Flyway.java:1373)
      6. org.flywaydb.core.Flyway.migrate(Flyway.java:917)
      6 frames
    4. org.flywaydb.commandline
      Main.main
      1. org.flywaydb.commandline.Main.executeOperation(Main.java:139)
      2. org.flywaydb.commandline.Main.main(Main.java:102)
      2 frames