diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 1d2c2f60..c63ebe14 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,7 +1,7 @@ [package] org = "ballerinax" name = "java.jdbc" -version = "1.5.0" +version = "1.5.1" authors = ["Ballerina"] keywords = ["database", "client", "network", "SQL", "RDBMS", "JDBC"] repository = "https://github.com/ballerina-platform/module-ballerinax-java.jdbc" @@ -12,14 +12,14 @@ distribution = "2201.2.0" [[platform.java11.dependency]] groupId = "io.ballerina.stdlib" artifactId = "java.jdbc-native" -version = "1.5.0" -path = "../native/build/libs/java.jdbc-native-1.5.0.jar" +version = "1.5.1" +path = "../native/build/libs/java.jdbc-native-1.5.1-SNAPSHOT.jar" [[platform.java11.dependency]] groupId = "io.ballerina.stdlib" artifactId = "sql-native" -version = "1.5.0" -path = "./lib/sql-native-1.5.0.jar" +version = "1.5.1" +path = "./lib/sql-native-1.5.1-20221003-172800-1268ddc.jar" [[platform.java11.dependency]] path = "./lib/h2-2.1.212.jar" diff --git a/ballerina/CompilerPlugin.toml b/ballerina/CompilerPlugin.toml index 86a8e174..df599257 100644 --- a/ballerina/CompilerPlugin.toml +++ b/ballerina/CompilerPlugin.toml @@ -3,4 +3,4 @@ id = "jdbc-compiler-plugin" class = "io.ballerina.stdlib.java.jdbc.compiler.JDBCCompilerPlugin" [[dependency]] -path = "../compiler-plugin/build/libs/java.jdbc-compiler-plugin-1.5.0.jar" +path = "../compiler-plugin/build/libs/java.jdbc-compiler-plugin-1.5.1-SNAPSHOT.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index cdf10d32..39a53843 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -9,7 +9,7 @@ dependencies-toml-version = "2" [[package]] org = "ballerina" name = "auth" -version = "2.4.0" +version = "2.4.1" scope = "testOnly" dependencies = [ {org = "ballerina", name = "crypto"}, @@ -23,9 +23,10 @@ dependencies = [ [[package]] org = "ballerina" name = "cache" -version = "3.2.2" +version = "3.3.0" scope = "testOnly" dependencies = [ + {org = "ballerina", name = "constraint"}, {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "task"}, {org = "ballerina", name = "time"} @@ -43,7 +44,7 @@ dependencies = [ [[package]] org = "ballerina" name = "crypto" -version = "2.2.2" +version = "2.2.3" scope = "testOnly" dependencies = [ {org = "ballerina", name = "jballerina.java"}, @@ -53,7 +54,7 @@ dependencies = [ [[package]] org = "ballerina" name = "file" -version = "1.4.0" +version = "1.4.1" scope = "testOnly" dependencies = [ {org = "ballerina", name = "io"}, @@ -70,7 +71,7 @@ modules = [ [[package]] org = "ballerina" name = "http" -version = "2.4.0" +version = "2.4.1" scope = "testOnly" dependencies = [ {org = "ballerina", name = "auth"}, @@ -119,7 +120,7 @@ modules = [ [[package]] org = "ballerina" name = "jwt" -version = "2.4.0" +version = "2.4.1" scope = "testOnly" dependencies = [ {org = "ballerina", name = "cache"}, @@ -222,7 +223,7 @@ dependencies = [ [[package]] org = "ballerina" name = "log" -version = "2.4.0" +version = "2.4.1" scope = "testOnly" dependencies = [ {org = "ballerina", name = "io"}, @@ -245,7 +246,7 @@ dependencies = [ [[package]] org = "ballerina" name = "oauth2" -version = "2.4.0" +version = "2.4.1" scope = "testOnly" dependencies = [ {org = "ballerina", name = "cache"}, @@ -267,7 +268,7 @@ dependencies = [ [[package]] org = "ballerina" name = "os" -version = "1.4.0" +version = "1.4.1" scope = "testOnly" dependencies = [ {org = "ballerina", name = "io"}, @@ -301,7 +302,7 @@ modules = [ [[package]] org = "ballerina" name = "task" -version = "2.2.2" +version = "2.2.3" scope = "testOnly" dependencies = [ {org = "ballerina", name = "jballerina.java"}, @@ -343,7 +344,7 @@ dependencies = [ [[package]] org = "ballerina" name = "uuid" -version = "1.3.0" +version = "1.3.1" scope = "testOnly" dependencies = [ {org = "ballerina", name = "crypto"}, @@ -378,7 +379,7 @@ modules = [ [[package]] org = "ballerinax" name = "java.jdbc" -version = "1.5.0" +version = "1.5.1" dependencies = [ {org = "ballerina", name = "file"}, {org = "ballerina", name = "io"}, diff --git a/gradle.properties b/gradle.properties index 3fffee73..59ee7f20 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ h2DriverVersion=2.1.212 ballerinaLangVersion=2201.2.0 -stdlibSqlVersion=1.5.0 +stdlibSqlVersion=1.5.1-20221003-172800-1268ddc # Direct Dependencies # Level 01 @@ -23,10 +23,10 @@ stdlibTimeVersion=2.2.2 # Level 02 stdlibLogVersion=2.4.0 -stdlibOsVersion=1.4.0 +stdlibOsVersion=1.4.1-20220923-100900-5935e0c # Level 03 -stdlibFileVersion=1.4.0 +stdlibFileVersion=1.4.1-20220926-142300-9b48f88 # Ballerinax Observer observeVersion=1.0.5 @@ -38,21 +38,21 @@ stdlibConstraintVersion=1.0.0 stdlibUrlVersion=2.2.2 # Level 02 -stdlibCryptoVersion=2.2.2 -stdlibTaskVersion=2.2.2 +stdlibCryptoVersion=2.2.3-20220921-105400-812e99d +stdlibTaskVersion=2.2.3-20220920-184600-c109457 # Level 03 -stdlibCacheVersion=3.2.2 +stdlibCacheVersion=3.3.0-20220926-104700-377cccd stdlibMimeVersion=2.4.0 -stdlibUuidVersion=1.3.0 +stdlibUuidVersion=1.3.1-20220926-130700-3e3e76b # Level 04 -stdlibAuthVersion=2.4.0 -stdlibJwtVersion=2.4.0 -stdlibOAuth2Version=2.4.0 +stdlibAuthVersion=2.4.1-20220927-114400-615039d +stdlibJwtVersion=2.4.1-20220926-140600-6b1756f +stdlibOAuth2Version=2.4.1-20220928-092800-5ca4f8b # Level 05 -stdlibHttpVersion=2.4.0 +stdlibHttpVersion=2.4.1-20220928-131100-d539a2e # Level 06 -stdlibTransactionVersion=1.2.0 +stdlibTransactionVersion=1.2.1-20220930-110100-4e984cb diff --git a/native/src/main/resources/META-INF/native-image/io.ballerina.stdlib/java.jdbc-native/reflect-config.json b/native/src/main/resources/META-INF/native-image/io.ballerina.stdlib/java.jdbc-native/reflect-config.json new file mode 100644 index 00000000..25b8b9d9 --- /dev/null +++ b/native/src/main/resources/META-INF/native-image/io.ballerina.stdlib/java.jdbc-native/reflect-config.json @@ -0,0 +1,153 @@ +[ + { + "name": "org.h2.Driver" + }, + { + "name": "org.h2.mvstore.db.LobStorageMap$BlobMeta$Type", + "fields": [ + { + "name": "INSTANCE" + } + ] + }, + { + "name": "org.h2.mvstore.db.LobStorageMap$BlobReference$Type", + "fields": [ + { + "name": "INSTANCE" + } + ] + }, + { + "name": "org.h2.mvstore.db.NullValueDataType", + "fields": [ + { + "name": "INSTANCE" + } + ] + }, + { + "name": "org.h2.mvstore.db.RowDataType$Factory", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.mvstore.tx.VersionedValueType$Factory", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.mvstore.type.ByteArrayDataType", + "fields": [ + { + "name": "INSTANCE" + } + ] + }, + { + "name": "org.h2.mvstore.type.LongDataType", + "fields": [ + { + "name": "INSTANCE" + } + ] + }, + { + "name": "org.h2.store.fs.async.FilePathAsync", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.disk.FilePathDisk", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.mem.FilePathMem", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.mem.FilePathMemLZF", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.niomapped.FilePathNioMapped", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.niomem.FilePathNioMem", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.niomem.FilePathNioMemLZF", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.retry.FilePathRetryOnInterrupt", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.split.FilePathSplit", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + }, + { + "name": "org.h2.store.fs.zip.FilePathZip", + "methods": [ + { + "name": "", + "parameterTypes": [] + } + ] + } +] diff --git a/native/src/main/resources/META-INF/native-image/io.ballerina.stdlib/java.jdbc-native/resource-config.json b/native/src/main/resources/META-INF/native-image/io.ballerina.stdlib/java.jdbc-native/resource-config.json new file mode 100644 index 00000000..2751e7c4 --- /dev/null +++ b/native/src/main/resources/META-INF/native-image/io.ballerina.stdlib/java.jdbc-native/resource-config.json @@ -0,0 +1,10 @@ +{ + "resources": { + "includes": [ + { + "pattern": "\\Qorg/h2/util/data.zip\\E" + } + ] + }, + "bundles": [] +}