mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-12 22:43:20 -05:00
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:
parent
5f77eee1ac
commit
51a1f0a710
Binary file not shown.
BIN
lib/h2-2.0.202.jar
Normal file
BIN
lib/h2-2.0.202.jar
Normal file
Binary file not shown.
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user