From f7c24a3708e264a952fe4e3e22b9379f5f24e449 Mon Sep 17 00:00:00 2001 From: "Andrey.Tarashevskiy" Date: Mon, 3 Jun 2019 14:30:21 +0300 Subject: [PATCH] Exposed release 0.14.1 with H2 support --- Getting-Started.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Getting-Started.md b/Getting-Started.md index dcc2661..13b481b 100644 --- a/Getting-Started.md +++ b/Getting-Started.md @@ -15,7 +15,7 @@ org.jetbrains.exposed exposed - 0.13.7 + 0.14.1 @@ -28,7 +28,7 @@ repositories { jcenter() } dependencies { - compile 'org.jetbrains.exposed:exposed:0.13.7' + compile 'org.jetbrains.exposed:exposed:0.14.1' } ``` @@ -43,11 +43,7 @@ Every database access using Exposed is started by obtaining a connection and cre To get a connection: ```kotlin -// h2 version < 1.4.198 Database.connect("jdbc:h2:mem:test", driver = "org.h2.Driver") - -// h2 version 1.4.198+ -Database.connect("jdbc:h2:mem:test?DATABASE_TO_UPPER=false;", driver = "org.h2.Driver") ``` It is also possible to provide `javax.sql.DataSource` for advanced behaviors such as connection pooling: