Skip to content

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Jun 13, 2025

Fix #2154

Rebased #2296 after the upgrade to ORM 7.0.2.Final (that includes hibernate/hibernate-orm#10301)

I squashed together the commits related to the fix, added some assertions to the test, and applied some refactoring

@hibernate-github-bot
Copy link

hibernate-github-bot bot commented Jun 13, 2025

Thanks for your pull request!

This pull request appears to follow the contribution rules.

› This message was automatically generated.

@DavideD DavideD changed the title Issue#2154 Composite key with generated value not working properly Jun 13, 2025
*/
CompletionStage<Id> generate(ReactiveConnectionSupplier session, Object entity);

default CompletionStage<Id> generate(ReactiveConnectionSupplier session, Object owner, Object currentValue, EventType eventType) {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'currentValue' is never used.
*/
CompletionStage<Id> generate(ReactiveConnectionSupplier session, Object entity);

default CompletionStage<Id> generate(ReactiveConnectionSupplier session, Object owner, Object currentValue, EventType eventType) {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'eventType' is never used.
@DavideD DavideD added the bug Something isn't working label Jun 13, 2025
@DavideD DavideD merged commit 585b0c9 into hibernate:main Jun 13, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

2 participants