-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Migration from spring boot 2.6.1 to 2.6.2+ on postgresql fails on "select from int_message_group" #3712
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
Comments
See Migration Guide: https://github.com/spring-projects/spring-integration/wiki/Spring-Integration-5.4-to-5.5-Migration-Guide#messagegroupcondition-option. It is not just get-n-go upgrade. Also see "What's New" for more possible upgrade obstacles: https://docs.spring.io/spring-integration/docs/current/reference/html/whats-new.html#whats-new Closed as |
I saw this migration and successfully migrated to spring-boot 2.6.1 - everything works fine. But in spring-boot 2.6.2+ select sql was changed - added quotes for mysql and after that application fails to start on postgresql |
The select is like this now:
A DDL for PostgreSQL is like this:
Are you sure that you have schema updated? |
Thank you, @artembilan
And before the double quotes in select query everything worked fine |
I’m sorry: just to be sure that we are on the same page. Is |
Have just tested against PostgreSQL in Testcontainers the latest Spring Integration with
So, need to be sure that column name in the table is exactly like In the next |
Try to clarify : The column was created as CONDITION, without quotes, while migrating to 2.5.5 And we have two apps looking to one database. If we want to upgrade the second app to spring boot 2.6.2+ - we need to rename column to "CONDITION"
But after this change app on spring-boot 2.5.5 fails to start with @artembilan , thank you for help) - while I'm trying to explain what issues we have - I found out how to fix them) The solution seems very simple - we should have both condition and "CONDITION" columns in a table |
Spring boot 2.6.2 - 2.6.3
Application fails to start
with postgresql select error:
The text was updated successfully, but these errors were encountered: