-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add nested table support #32
Add nested table support #32
Conversation
Codecov Report
@@ Coverage Diff @@
## main #32 +/- ##
============================================
+ Coverage 85.01% 85.17% +0.16%
- Complexity 180 181 +1
============================================
Files 16 16
Lines 634 641 +7
Branches 137 139 +2
============================================
+ Hits 539 546 +7
Misses 52 52
Partials 43 43
Continue to review full report at Codecov.
|
67c8e05
to
c1cb426
Compare
@lahirusamith we need negative test cases to validate error messages |
|
native/src/main/java/io/ballerina/stdlib/oracledb/utils/ConverterUtils.java
Outdated
Show resolved
Hide resolved
131b584
to
accc841
Compare
VALUES (${pk}, ${students}, ${grades})`; | ||
sql:ExecutionResult|sql:Error result = executeQuery(insertQuery); | ||
if result is sql:ApplicationError { | ||
test:assertTrue(result.message().includes("Invalid parameter: null is passed as value for SQL type: varray")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the error message, the SQL type should be nested table
right?
2abe470
to
d4254a3
Compare
d4254a3
to
386ce64
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Fix the conflicts
# Conflicts: # ballerina/Ballerina.toml # ballerina/Dependencies.toml # gradle.properties
Purpose
$title
Fixes ballerina-platform/ballerina-library#1665
Examples
Checklist