From 28c98f1518a3d951b7a81754437062973b510b23 Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Fri, 6 Dec 2024 12:18:43 +0530 Subject: [PATCH 1/3] [Automated] Update the native jar versions --- ballerina/Ballerina.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index ad1b08d2..76953192 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -22,4 +22,4 @@ path = "../native/build/libs/mssql-native-1.14.0-SNAPSHOT.jar" groupId = "io.ballerina.stdlib" artifactId = "sql-native" version = "1.15.0" -path = "./lib/sql-native-1.15.0-20241127-162900-c57df5b.jar" +path = "./lib/sql-native-1.15.0-20241206-115300-dbd07a9.jar" From abaed3355ebee8d3e59cbcfed04a7e0b58361bc3 Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Fri, 6 Dec 2024 16:02:34 +0530 Subject: [PATCH 2/3] [Automated] Update the native jar versions --- ballerina/Ballerina.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 76953192..ad1b08d2 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -22,4 +22,4 @@ path = "../native/build/libs/mssql-native-1.14.0-SNAPSHOT.jar" groupId = "io.ballerina.stdlib" artifactId = "sql-native" version = "1.15.0" -path = "./lib/sql-native-1.15.0-20241206-115300-dbd07a9.jar" +path = "./lib/sql-native-1.15.0-20241127-162900-c57df5b.jar" From 44457f559daf135ebf8121df9179148e7b6f40bc Mon Sep 17 00:00:00 2001 From: Danesh Kuruppu Date: Fri, 6 Dec 2024 16:17:20 +0530 Subject: [PATCH 3/3] Fix the failing testcase in update 11 --- ballerina/tests/call-procedures-test.bal | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ballerina/tests/call-procedures-test.bal b/ballerina/tests/call-procedures-test.bal index 636c4610..013b136d 100644 --- a/ballerina/tests/call-procedures-test.bal +++ b/ballerina/tests/call-procedures-test.bal @@ -396,18 +396,18 @@ function testMoneyProcedureCall() returns error? { } @test:Config { - groups: ["procedures"], - enable: false + groups: ["procedures"] } function testTimestamptzRetrieval() returns error? { string datetimetz = "2021-07-21T19:14:51.00+01:30"; sql:TimestampWithTimezoneOutParameter datetimetzOutValue = new; sql:ParameterizedCallQuery sqlQuery = `{call DateTimeOutProcedure (2, ${datetimetzOutValue})}`; - _ = check callProcedureMssqlClient(sqlQuery, proceduresDb, [DatetimeProcedureRecord]); - + Client dbClient = check getMssqlClient(proceduresDb); + _ = check dbClient->call(sqlQuery, [DatetimeProcedureRecord]); test:assertEquals(check datetimetzOutValue.get(time:Utc), check time:utcFromString(datetimetz), "Retrieved date time with timestamp does not match."); + check dbClient.close(); } @test:Config {