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
Fixed #4489: SQL Anywhere incorrectly reports VARCHAR(n CHAR) as VARCHAR(n) #4499
Conversation
liquibase-standard/src/main/java/liquibase/snapshot/JdbcDatabaseSnapshot.java
Fixed
Show fixed
Hide fixed
liquibase-standard/src/main/java/liquibase/snapshot/jvm/ColumnSnapshotGenerator.java
Fixed
Show fixed
Hide fixed
…) as VARCHAR(n) Cause: There is no way to detect the size unit in the JDBC standard. Solution: Using a native query to detect the size unit.
@nvoxland Kindly requesting your review. :-) |
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.
Seems fine, new native sql for sql anywhere. Thanks!
This is a showstopper at least for SQL Anywhere. |
This pull request addresses the issue in Liquibase where the detection of CHAR(n CHAR) and VARCHAR(n CHAR) fields as byte-sized instead of char-sized caused problems in SQL Anywhere.
APPROVED |
Description
Fixes #4489
Impact
Description
Cause: There is no way to detect the size unit in the JDBC standard.
Solution: Using a native query to detect the size unit.
Things to be aware of
N/A
Things to worry about
N/A
Additional Context
N/A