-
Notifications
You must be signed in to change notification settings - Fork 706
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
docs: Change repetitionAttempts to maxAttempts in website docs #2164
Merged
+12
−9
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
obabichevjb
reviewed
Jul 22, 2024
SQLException occurs inside the `transaction` block. If this property is not set, any default value provided | ||
in `DatabaseConfig` will be used instead: | ||
Transactions also provide a property, `maxAttempts`, which sets the maximum number of attempts that should be made to perform a transaction block. | ||
If this value is set to 1 and an SQLException occurs inside the transaction block, the exception will throw without performing a retry. |
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.
Not sure, but probably a mistake and should be the exception will be thrown without performing a retry
obabichevjb
approved these changes
Jul 22, 2024
The incorrect md file was used to reflect property name change in a previous PR. This copies the changed docs in the file that is actually used for the website pages.
Loading status checks…
Fix exception line phrasing
d1f0da3
to
69deec4
Compare
DonRobo
referenced
this pull request
in DonRobo/home-former
Aug 4, 2024
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.jetbrains.exposed:exposed-jdbc](https://togithub.com/JetBrains/Exposed) | `0.52.0` -> `0.53.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [org.jetbrains.exposed:exposed-core](https://togithub.com/JetBrains/Exposed) | `0.52.0` -> `0.53.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>JetBrains/Exposed (org.jetbrains.exposed:exposed-jdbc)</summary> ### [`v0.53.0`](https://togithub.com/JetBrains/Exposed/blob/HEAD/CHANGELOG.md#0530) [Compare Source](https://togithub.com/JetBrains/Exposed/compare/0.52.0...0.53.0) Infrastructure: - SQLite driver 3.46.0.1 - Spring Framework 6.1.11 - Spring Boot 3.3.2 - junit-bom 5.10.3 Features: - feat: Add time extension function for temporal expressions in Kotlin and Java by [@​joc-a](https://togithub.com/joc-a) in [https://github.com/JetBrains/Exposed/pull/2121](https://togithub.com/JetBrains/Exposed/pull/2121) - feat: EXPOSED-435 Allow insertReturning() to set isIgnore = true by [@​bog-walk](https://togithub.com/bog-walk) in [https://github.com/JetBrains/Exposed/pull/2148](https://togithub.com/JetBrains/Exposed/pull/2148) - feat: EXPOSED-77 Support entity class for table with composite primary key by [@​bog-walk](https://togithub.com/bog-walk) in [https://github.com/JetBrains/Exposed/pull/1987](https://togithub.com/JetBrains/Exposed/pull/1987) - feat: EXPOSED-446 Support N-column inList equality comparisons by [@​bog-walk](https://togithub.com/bog-walk) in [https://github.com/JetBrains/Exposed/pull/2157](https://togithub.com/JetBrains/Exposed/pull/2157) - feat: EXPOSED-450 Merge command: PostgreSQL improvements by [@​obabichevjb](https://togithub.com/obabichevjb) in [https://github.com/JetBrains/Exposed/pull/2161](https://togithub.com/JetBrains/Exposed/pull/2161) - feat: EXPOSED-388 Support for column type converters by [@​obabichevjb](https://togithub.com/obabichevjb) in [https://github.com/JetBrains/Exposed/pull/2143](https://togithub.com/JetBrains/Exposed/pull/2143) - Adding comment text for a query SQL by [@​xJoeWoo](https://togithub.com/xJoeWoo) in [https://github.com/JetBrains/Exposed/pull/2088](https://togithub.com/JetBrains/Exposed/pull/2088) - feat: EXPOSED-459 Open AbstractQuery.copyTo() to allow custom Query class extension by [@​bog-walk](https://togithub.com/bog-walk) in [https://github.com/JetBrains/Exposed/pull/2173](https://togithub.com/JetBrains/Exposed/pull/2173) - feat: EXPOSED-461 Add time column in Joda-Time module by [@​joc-a](https://togithub.com/joc-a) in [https://github.com/JetBrains/Exposed/pull/2175](https://togithub.com/JetBrains/Exposed/pull/2175) Bug fixes: - fix: EXPOSED-424 ClassCastException exception when using `fetchBatchedResults` with `alias` by [@​joc-a](https://togithub.com/joc-a) in [https://github.com/JetBrains/Exposed/pull/2140](https://togithub.com/JetBrains/Exposed/pull/2140) - fix: EXPOSED-407 compositeMoney() nullability definition issues by [@​bog-walk](https://togithub.com/bog-walk) in [https://github.com/JetBrains/Exposed/pull/2137](https://togithub.com/JetBrains/Exposed/pull/2137) - fix: EXPOSED-415 SchemaUtils incorrectly generates ALTER statements for existing nullable columns by [@​obabichevjb](https://togithub.com/obabichevjb) in [https://github.com/JetBrains/Exposed/pull/2136](https://togithub.com/JetBrains/Exposed/pull/2136) - fix: EXPOSED-363 LocalTime and literal(LocalTime) are not the same by [@​joc-a](https://togithub.com/joc-a) in [https://github.com/JetBrains/Exposed/pull/2152](https://togithub.com/JetBrains/Exposed/pull/2152) - fix: EXPOSED-432 CurrentDate default is generated as null in MariaDB by [@​joc-a](https://togithub.com/joc-a) in [https://github.com/JetBrains/Exposed/pull/2149](https://togithub.com/JetBrains/Exposed/pull/2149) - fix: Allow column reference in default expressions for MySQL and MariaDB by [@​joc-a](https://togithub.com/joc-a) in [https://github.com/JetBrains/Exposed/pull/2159](https://togithub.com/JetBrains/Exposed/pull/2159) - fix: EXPOSED-430 Insert and BatchInsert do not return default values by [@​obabichevjb](https://togithub.com/obabichevjb) in [https://github.com/JetBrains/Exposed/pull/2158](https://togithub.com/JetBrains/Exposed/pull/2158) - fix: EXPOSED-452 Flaky H2\_Oracle test `testTimestampWithTimeZoneDefaults` by [@​joc-a](https://togithub.com/joc-a) in [https://github.com/JetBrains/Exposed/pull/2169](https://togithub.com/JetBrains/Exposed/pull/2169) - EXPOSED-457 The column default value always compares unequal by [@​obabichevjb](https://togithub.com/obabichevjb) in [https://github.com/JetBrains/Exposed/pull/2170](https://togithub.com/JetBrains/Exposed/pull/2170) - EXPOSED-409 Custom primary key. Access to the primary key fails with ClassCastException by [@​obabichevjb](https://togithub.com/obabichevjb) in [https://github.com/JetBrains/Exposed/pull/2151](https://togithub.com/JetBrains/Exposed/pull/2151) - fix: EXPOSED-447 Eager loading does not work with composite PK entity by [@​bog-walk](https://togithub.com/bog-walk) in [https://github.com/JetBrains/Exposed/pull/2177](https://togithub.com/JetBrains/Exposed/pull/2177) Docs: - chore: Add migration sample by [@​joc-a](https://togithub.com/joc-a) in [https://github.com/JetBrains/Exposed/pull/2144](https://togithub.com/JetBrains/Exposed/pull/2144) - docs: Change repetitionAttempts to maxAttempts in website docs by [@​bog-walk](https://togithub.com/bog-walk) in [https://github.com/JetBrains/Exposed/pull/2164](https://togithub.com/JetBrains/Exposed/pull/2164) - docs: EXPOSED-445 Add documentation for DSL & DAO composite primary keys by [@​bog-walk](https://togithub.com/bog-walk) in [https://github.com/JetBrains/Exposed/pull/2165](https://togithub.com/JetBrains/Exposed/pull/2165) - docs: EXPOSED-419 Rework the getting started tutorial by [@​vnikolova](https://togithub.com/vnikolova) in [https://github.com/JetBrains/Exposed/pull/2160](https://togithub.com/JetBrains/Exposed/pull/2160) - Configure API documentation for Exposed by [@​e5l](https://togithub.com/e5l) in [https://github.com/JetBrains/Exposed/pull/2171](https://togithub.com/JetBrains/Exposed/pull/2171) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/DonRobo/home-former). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When PR #2042 was created, changes of the name
repetitionAttempts
tomaxAttempts
were placed in the .md fileWorking-with-Transaction
. The documentation website actually uses content fromTransactions.md
, so the deprecated info is public.Mention of this unused .md file (along with the other 2 unused files) has been made in EXPOSED-73 so that a decision can be made about their future.