Re: [hibernate-dev] Any change of adding generics to Hibernate specific API

2015-04-30 Thread Gunnar Morling
No problem, just pay me a drink next time we meet ;) 2015-04-30 13:25 GMT+02:00 Steve Ebersole : > Indeed that is it. Thanks for finding it, that was a task for me for > today! :) > > On Thu, Apr 30, 2015 at 1:57 AM, Gunnar Morling > wrote: > >> Looks like that's the previous discussion Steve w

Re: [hibernate-dev] Any change of adding generics to Hibernate specific API

2015-04-30 Thread Steve Ebersole
Indeed that is it. Thanks for finding it, that was a task for me for today! :) On Thu, Apr 30, 2015 at 1:57 AM, Gunnar Morling wrote: > Looks like that's the previous discussion Steve was referring to: > http://lists.jboss.org/pipermail/hibernate-dev/2012-January/007625.html > > 2015-04-30 5:41

Re: [hibernate-dev] Any change of adding generics to Hibernate specific API

2015-04-30 Thread Mihalcea Vlad
Thanks. I'll check it out.   On Thursday, April 30, 2015 9:57 AM, Gunnar Morling wrote: Looks like that's the previous discussion Steve was referring to: http://lists.jboss.org/pipermail/hibernate-dev/2012-January/007625.html 2015-04-30 5:41 GMT+02:00 Steve Ebersole : > https://h

Re: [hibernate-dev] Any change of adding generics to Hibernate specific API

2015-04-29 Thread Gunnar Morling
Looks like that's the previous discussion Steve was referring to: http://lists.jboss.org/pipermail/hibernate-dev/2012-January/007625.html 2015-04-30 5:41 GMT+02:00 Steve Ebersole : > https://hibernate.atlassian.net/browse/HHH-9761 > > On Wed, Apr 29, 2015 at 8:16 AM, Steve Ebersole > wrote: > >

Re: [hibernate-dev] Any change of adding generics to Hibernate specific API

2015-04-29 Thread Steve Ebersole
https://hibernate.atlassian.net/browse/HHH-9761 On Wed, Apr 29, 2015 at 8:16 AM, Steve Ebersole wrote: > We discussed this before on the list. The main thing to decide is > Session#load and proxies. Basically there are times when: > > public T load(Class entityType, Object id) > > simply will

Re: [hibernate-dev] Any change of adding generics to Hibernate specific API

2015-04-29 Thread Steve Ebersole
We discussed this before on the list. The main thing to decide is Session#load and proxies. Basically there are times when: public T load(Class entityType, Object id) simply will not work. This is the discussion I started wrt annotating the proxy interface, rather than the impl class. Basical

Re: [hibernate-dev] Any change of adding generics to Hibernate specific API

2015-04-29 Thread Emmanuel Bernard
Hi Vlad, That’s an interesting proposal. It is certainly possible. But since the Session and Query API (Hibernate native) is historically non typed, I wonder if that is worth introducing these new typed version and add more overloaded methods on Session. Do you think it is worth the additional