Skip to content

[Fix #261] Adding JPA persistence plugin#279

Open
fjtirado wants to merge 2 commits intoquarkiverse:mainfrom
fjtirado:Fix_#261
Open

[Fix #261] Adding JPA persistence plugin#279
fjtirado wants to merge 2 commits intoquarkiverse:mainfrom
fjtirado:Fix_#261

Conversation

@fjtirado
Copy link
Contributor

@fjtirado fjtirado commented Feb 27, 2026

Fix #261

@fjtirado fjtirado marked this pull request as ready for review February 27, 2026 11:33
@fjtirado fjtirado requested a review from a team as a code owner February 27, 2026 11:33
@fjtirado fjtirado requested review from mcruzdev February 27, 2026 11:36
Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

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

That's great that we now have 3 different persistance modules. Can you please add an example for the persistence use case here? https://github.com/quarkiverse/quarkus-flow/tree/main/examples


@Override
public void writeStatus(WorkflowContextData workflowContext, WorkflowStatus suspended) {
find(workflowContext).setStatus(suspended);
Copy link
Member

Choose a reason for hiding this comment

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

Why does this var call suspended? Perhaps status? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the reason is that right now the only status that is stored is suspended (in other words we only care about the status is the workflow should not be running after restoring)

Copy link
Member

Choose a reason for hiding this comment

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

If that so you should then check if the value of WorkflowStatus is really suspended.

…tension.yaml

Co-authored-by: Ricardo Zanini <1538000+ricardozanini@users.noreply.github.com>
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.

feat: Add relational database persistence plugin

2 participants