update h2 to 2.0.202

Note that this version is NOT backwards compatible with 1.x version

Hence, we use a new DB path "captcha2". The contents in the old DB can be reused
by following instructions in
https://github.com/h2database/h2database/releases/tag/version-2.0.202
This commit is contained in:
hrj 2021-12-10 00:01:35 +05:30
parent 5f77eee1ac
commit 51a1f0a710
3 changed files with 1 additions and 1 deletions

Binary file not shown.

BIN
lib/h2-2.0.202.jar Normal file

Binary file not shown.

View File

@ -3,7 +3,7 @@ package lc.database
import java.sql._ import java.sql._
class DBConn() { class DBConn() {
val con: Connection = DriverManager.getConnection("jdbc:h2:./data/H2/captcha", "sa", "") val con: Connection = DriverManager.getConnection("jdbc:h2:./data/H2/captcha2", "sa", "")
def getStatement(): Statement = { def getStatement(): Statement = {
con.createStatement() con.createStatement()