Gavin King

Results 1136 comments of Gavin King

Aaaahhhh .... I'm not sure. It might be a mistake. Or maybe I'm just wrong, and `@SoftDelete` can be used as a meta-annotation. I don't really see that in the...

> This (API) is somwething we've always been hesitant to do. Why now @gavinking ? I dunno 🤷‍♂️ I'm still not sold on it.

I guess we can just go ahead and do this.

I'm going to finally merge this one now. Follow-up issues are documented in https://hibernate.atlassian.net/issues/HHH-19556.

> We had many problems with concurrency access, session leaks, context propagation, etc. Removing the functionality does not solve the problem. It merely pushes the problem somewhere else where it's...

Note that the best way I found to do this right now is the following: ```java @InterceptorBinding @Target({ TYPE, METHOD }) @Retention(RUNTIME) public @interface WithSession {} ``` ```java @RequestScoped public...

> Where do you close the session? @mkouba It's closed automatically by `factory.withStatelessTransaction()`, of course.

@DavideD > In this case, it really solves the problems. Because the issues weren't cause by code written by the user, but the way all the different extensions were working...

@mkouba > Well, we didn't remove the functionality but replaced with a more idiomatic approach. For pure Hibernate Reactive a Mutiny.SessionFactory should be injected instead and a new session is...

PS there's a very very tiny bug in the code I posted days ago regarding reentrancy but the fix is very trivial. Will edit the code when I get back...