Skip to content

Commit

Permalink
Fix doc for IdOptimizerType
Browse files Browse the repository at this point in the history
The first enum value accidently contained the doc for all values.
This was causing problems with the tooltips.

(cherry picked from commit a60084b)
  • Loading branch information
gsmet committed Aug 8, 2024
1 parent bc76c86 commit 68cef13
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,20 +426,6 @@ enum IdOptimizerType {
* Assumes the value retrieved from the table/sequence is the lower end of the pool.
*
* Upon retrieving value `N`, the new pool of identifiers will go from `N` to `N + <allocation size> - 1`, inclusive.
* `pooled`::
* Assumes the value retrieved from the table/sequence is the higher end of the pool.
* +
* Upon retrieving value `N`, the new pool of identifiers will go from `N - <allocation size>` to `N + <allocation size>
* - 1`, inclusive.
* +
* The first value, `1`, is handled differently to avoid negative identifiers.
* +
* Use this to get the legacy behavior of Quarkus 2 / Hibernate ORM 5 or older.
* `none`::
* No optimizer, resulting in a database call each and every time an identifier value is needed from the generator.
* +
* Not recommended in production environments:
* may result in degraded performance and/or frequent gaps in identifier values.
*
* @asciidoclet
*/
Expand Down

0 comments on commit 68cef13

Please sign in to comment.