Skip to content

Update SQLServer DDL script to use sequences instead of tables #4086

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

Closed
wants to merge 1 commit into from

Conversation

darkmastermindz
Copy link

@darkmastermindz darkmastermindz commented Mar 29, 2022

Resolves #4085

--

Emulating sequences with tables causes deadlocks when running
multiple jobs at the same time. Sequences have been supported
in SQL Server since version 2012.

This commit replaces the usage of tables to emulate sequences
with real sequences. It also adds a new incrementer that is
based on sequences instead of tables.

Resolves #1448

Thank you for taking time to contribute this pull request!
You might have already read the contributor guide, but as a reminder, please make sure to:

  • Sign the contributor license agreement
  • Rebase your changes on the latest main branch and squash your commits
  • Add/Update unit tests as needed
  • Run a build and make sure all tests pass prior to submission

For more details, please check the contributor guide.
Thank you upfront!

Emulating sequences with tables causes deadlocks when running
multiple jobs at the same time. Sequences have been supported
in SQL Server since version 2012.

This commit replaces the usage of tables to emulate sequences
with real sequences. It also adds a new incrementer that is
based on sequences instead of tables.

Resolves spring-projects#1448
@pivotal-cla
Copy link

@darkmastermindz Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@darkmastermindz Thank you for signing the Contributor License Agreement!

@darkmastermindz darkmastermindz changed the title #4085 Update SQLServer DDL script to use sequences instead of tables Update SQLServer DDL script to use sequences instead of tables Mar 29, 2022
@fmbenhassine
Copy link
Contributor

Closing this as explained in #4085.

1 similar comment
@fmbenhassine
Copy link
Contributor

Closing this as explained in #4085.

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.

3 participants