Skip to content

Commit b795d84

Browse files
committed
undo addition of DB_CLOSE_DELAY parameter
1 parent e36f7b2 commit b795d84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/scala/lc/database/DB.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import java.sql.{Connection, DriverManager, Statement}
44

55
class DBConn() {
66
val con: Connection =
7-
DriverManager.getConnection("jdbc:h2:./data/H2/captcha3;MAX_COMPACT_TIME=8000;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1", "sa", "")
7+
DriverManager.getConnection("jdbc:h2:./data/H2/captcha3;MAX_COMPACT_TIME=8000;DB_CLOSE_ON_EXIT=FALSE", "sa", "")
88

99
def getStatement(): Statement = {
1010
con.createStatement()

0 commit comments

Comments
 (0)