Christian Beikov

Results 516 comments of Christian Beikov

> Because to find out whether the instance exists a count(id) might be way faster as it can hit an index and you don't (immediately) need to read all data,...

>So, would the scope still activate/deactivate based on session creation/timeout? In that case the lifecycle is basically identical to that of session scope but with some simple map backing it...

AFAIU JSR107 depends on CDI and CDI defines the session scope. So if JCache defines a scope that relies on that session scope as defined by CDI, this should be...

> Why are you not just doing this? Just put the stuff into a local cache of your preference and use the session id as key. > You only need...

Well, I guess it depends how you want to use the scope. I'd consider a `@SessionScoped` bean, regardless if distributed, not to vanish suddenly because of memory pressure. Whereas a...

Do you accept the following terms? ---------------------- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license](https://www.apache.org/licenses/LICENSE-2.0.txt) and can be...

Superseded by https://github.com/hibernate/hibernate-orm/pull/8463

A NPE certainly is something that shouldn't happen, so yeah, there is definitely a Hibernate ORM bug lurking. Can you try with ORM 6.4.4 though?

Hey there. The fix should be pretty simple, so if you want to take a stab at trying to provide a PR for this, I'd be very grateful. In the...

Thanks. Superseded by https://github.com/Blazebit/blaze-persistence/pull/1905