Lukas refused to change this saying that the outcome of the EG discussion
was inconclusive. Meh, Hibernate at least will have the better named
methods ;)
On Thu, Aug 3, 2017 at 3:18 AM Vlad Mihalcea
wrote:
> I added this Pull Request, and, if it gets approved, we could integrate it
> for 5.2.1
I added this Pull Request, and, if it gets approved, we could integrate it
for 5.2.11
https://github.com/hibernate/hibernate-orm/pull/1973
On Thu, Aug 3, 2017 at 10:47 AM, Gunnar Morling
wrote:
> > I've never considered changing the dependencies in any way.
>
> Cool, we're all on the same page
> I've never considered changing the dependencies in any way.
Cool, we're all on the same page then.
2017-08-02 21:16 GMT+01:00 Vlad Mihalcea :
> Sure, but you may not publish something like an JPA 2.1+ with just some of
>> the 2.2 methods.
>
>
> I don't understand this part because, for instanc
>
> Sure, but you may not publish something like an JPA 2.1+ with just some of
> the 2.2 methods.
I don't understand this part because, for instance, we already support Java
1.8 Date/Time types for quite some time. So, Hibernate 5.x already supports
JPA 2.1 +.
The 5.1 Stream support is also in t
Because Hibernate's Session extends the JPA EntityManager, any methods Vlad
adds to Session effectively "override" the ones from EntityManager - but
allows our internals to use "the forward looking" methods regardless of
whether the underlying JPA libs are 2.1 or 2.2.
On Wed, Aug 2, 2017 at 1:38 P
On 2 August 2017 at 18:40, Gunnar Morling wrote:
> Sure, but you may not publish something like an JPA 2.1+ with just some of
> the 2.2 methods.
Sure, I never proposed that. Just *asked* some clarifications ;)
>
> 2017-08-02 17:40 GMT+01:00 Sanne Grinovero :
>>
>> On 2 August 2017 at 17:07, Gunn
Sure, but you may not publish something like an JPA 2.1+ with just some of
the 2.2 methods.
2017-08-02 17:40 GMT+01:00 Sanne Grinovero :
> On 2 August 2017 at 17:07, Gunnar Morling wrote:
> >> You don't plan on actually updating the JPA API we use at build time
> >> right?
> >
> > We cannot do t
On 2 August 2017 at 17:07, Gunnar Morling wrote:
>> You don't plan on actually updating the JPA API we use at build time
>> right?
>
> We cannot do that, you may not provide a version of a spec'ed API with
> additional methods. It'd have to be in ORM's sub-interface or similar.
The new spec'ed AP
> You don't plan on actually updating the JPA API we use at build time
right?
We cannot do that, you may not provide a version of a spec'ed API with
additional methods. It'd have to be in ORM's sub-interface or similar.
2017-08-02 16:16 GMT+01:00 Sanne Grinovero :
> On 2 August 2017 at 15:21, Vl
I don't think it will break anything since the method will be a default one
in org.hibernate.query.Query
default Stream getResultStream() {
return stream();
}
That will do it.
Vlad
On Wed, Aug 2, 2017 at 6:16 PM, Sanne Grinovero wrote:
> On 2 August 2017 at 15:21, Vlad Mihalcea wrote:
>
On 2 August 2017 at 15:21, Vlad Mihalcea wrote:
> Hi,
>
> I plan on adding the JPA 2.2 Query#getResultStream() method since we
> already support streaming and,
> this way, Hibernate 5.2 will work even if the client has a JPA 2.2
> dependency in their classpath.
>
> https://jcp.org/aboutJava/commun
I thought we had agreed in the E.G. to name this method `#stream` rather
than `#getResultStream`. I've asked for clarification
On Wed, Aug 2, 2017 at 10:02 AM Vlad Mihalcea
wrote:
> Hi,
>
> I plan on adding the JPA 2.2 Query#getResultStream() method since we
> already support streaming and,
> t
12 matches
Mail list logo