OHDSI / OHDSI/WebAPI

Hypersistentence Optimizer reports an issue marked as blocker

Open
#2,204 3 comments 0 reactions 0 assignees View on GitHub

@ecruz165 is already working on this.

Since Feb 24, 2023.

  • #2220 by @ecruz165 — open
Dominant language
Java
Stars
151
Forks
183
Avg merge
14m
Merged PRs (30d)
2

Description

Expected behavior

No issues should be listed as blocker.

Actual behavior

When analysis application with Hypersisitance Optimizer, it points out the following:
BLOCKER - PooledSequenceOptimizerEvent - You should set the [hibernate.id.new_generator_mappings] configuration property to the value of [true], as Hibernate can then use the pooled or pooled-lo identifier optimizers for sequence-based entity identifiers. Note that the pooled and pooled-lo optimizers are not backward compatible with the legacy hilo optimizer that you might have used with Hibernate ORM 3 or 4. So, if you were using the hilo optimizer, then you would need to increase the current sequence number so that is greater than any previously allocated entity identifiers. For more info about this event, check out this User Guide link - https://vladmihalcea.com/hypersistence-optimizer/docs/user-guide/#PooledSequenceOptimizerEvent

Steps to reproduce behavior

Run analysis with Hypersisitance Optimizer against a application test that uses SportBootTest that application

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the reproduction described in the issue: a Spring Boot test analyzed with Hypersistence Optimizer and the PooledSequenceOptimizerEvent reported as BLOCKER. Check open pull request #2220 for the current work; done means the analysis no longer reports this finding as a blocker.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.