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

GitHub | jdoose | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    GitHub | 7 months ago | jdoose
    java.sql.SQLException: Invalid state, the Connection object is closed.

    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