Skip to content
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

[Ballerina/sql] : Getting error while upgrading from slbeta3 to slbetat6 #2616

Closed
Shehanir opened this issue Jan 24, 2022 · 1 comment
Closed
Assignees
Labels
module/sql Team/DIU Data, IO, and Util packages related issues Type/Bug

Comments

@Shehanir
Copy link

Shehanir commented Jan 24, 2022

Description:
I tried to upgrade the ballerina distribution from slbeta3 to slbeta6. While building the project I'm getting following error.

error: compilation failed: The compiler extension in package 'ballerina:sql:1.2.0' failed to complete. class io.ballerina.compiler.syntax.tree.FieldAccessExpressionNode cannot be cast to class io.ballerina.compiler.syntax.tree.UnaryExpressionNode (io.ballerina.compiler.syntax.tree.FieldAccessExpressionNode and io.ballerina.compiler.syntax.tree.UnaryExpressionNode are in unnamed module of loader 'app')

I tried to built by removing cache and dependencies.toml as well

Steps to reproduce:
Upgrade projects which uses ballerina/sql module from slbeta3 to slbeta6

Affected Versions:
slbeta6

@BuddhiWathsala BuddhiWathsala added module/sql Team/DIU Data, IO, and Util packages related issues labels Jan 24, 2022
@niveathika
Copy link
Contributor

This is already fixed for 2201.0.0 GA, tracked in #2536

If this cannot be migrated to 2201.0.0, you can use configurables to customize connection pool. https://lib.ballerina.io/ballerina/sql/1.2.0/records/ConnectionPool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/sql Team/DIU Data, IO, and Util packages related issues Type/Bug
Projects
None yet
Development

No branches or pull requests

4 participants