Skip to content

Conversation

@dankristensen
Copy link

@dankristensen dankristensen commented Oct 10, 2025

DB2zDialect did not support proper DB2 sequences on zOS

This change ensures that it is possible to use sequences even if some of these are aliases.
According to the documentation here: https://www.ibm.com/docs/en/db2-for-zos/12.0.0?topic=spaces-syssequences, the seqtype is important for parsing the sequences correctly for an alias.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


https://hibernate.atlassian.net/browse/HHH-19824

Copy link
Member

@mbellade mbellade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbellade mbellade merged commit f36b06c into hibernate:main Oct 10, 2025
22 of 23 checks passed
@mbellade
Copy link
Member

Thanks @dankristensen, I've backported your fix to the 7.1 branch as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants