Open DavideD opened 1 week ago
Hibernate ORM stateless insert returns the id:
Object insert(String entityName, Object entity);
The one in Hibernate Reactive should return CompletionStage<Object> but returns CompletionStage<Void>. Same for Mutiny.
CompletionStage<Object>
CompletionStage<Void>
The upgrade to ORM 7 seems a good place to apply these changes.
@gavinking Was this a design choice or something that changed over time?
Um, TBH I don't really recall, but I don't think it's essential. You can always just get the id from the entity itself.
Hibernate ORM stateless insert returns the id:
The one in Hibernate Reactive should return
CompletionStage<Object>
but returnsCompletionStage<Void>
. Same for Mutiny.The upgrade to ORM 7 seems a good place to apply these changes.
@gavinking Was this a design choice or something that changed over time?