-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add createMutationQuery method that accept criterias #2094
Conversation
hibernate-reactive-core/src/main/java/org/hibernate/reactive/mutiny/Mutiny.java
Fixed
Show fixed
Hide fixed
hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java
Fixed
Show fixed
Hide fixed
hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java
Fixed
Show fixed
Hide fixed
ac6ce78
to
1908f66
Compare
...ive-core/src/main/java/org/hibernate/reactive/session/impl/ReactiveStatelessSessionImpl.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should always avoid the unnecessary use of raw types.
hibernate-reactive-core/src/main/java/org/hibernate/reactive/mutiny/Mutiny.java
Outdated
Show resolved
Hide resolved
hibernate-reactive-core/src/main/java/org/hibernate/reactive/mutiny/Mutiny.java
Outdated
Show resolved
Hide resolved
hibernate-reactive-core/src/main/java/org/hibernate/reactive/mutiny/Mutiny.java
Outdated
Show resolved
Hide resolved
hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java
Outdated
Show resolved
Hide resolved
hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java
Outdated
Show resolved
Hide resolved
hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java
Outdated
Show resolved
Hide resolved
hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java
Outdated
Show resolved
Hide resolved
hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java
Outdated
Show resolved
Hide resolved
hibernate-reactive-core/src/main/java/org/hibernate/reactive/stage/Stage.java
Outdated
Show resolved
Hide resolved
@dreab8 Why did you add type parameters instead of using my suggestions with wildcarded types? |
I noticed the other methods are using the same approach, is it wrong? |
Well the other methods return But for these methods there is no such correlation, and so it's simpler and clearer to just use a wildcard. |
thanks for the explanation, I'm going to remove the type parameters and use the wildcard types |
… update and delete criterias
…nd insertSelect criterias
…eriaBuilder() to return HibernateCriteriaBuilder
… insert and insertSelect criterias
Merged, thanks a lot! |
Fix #1885