Re: [hibernate-dev] Backward compatibility with hibernate 4.1.9

2013-02-15 Thread Sanne Grinovero
Hi Amit, please use the developer list for such concerns, which I've added in CC. Personally I don't think your issue is valid, but I'll leave that to the other team members to decide. We never promised backwards compatibility with other frameworks when upgrading from Hibernate 3 to 4, it is likel

Re: [hibernate-dev] Backward compatibility with hibernate 4.1.9

2013-02-15 Thread Steve Ebersole
If you want the un-proxied version of the JBDC Connection, then unwrap() it. That is the standard pattern for dealing with JDBC objects. And no, this is not a backwards compatibility problem. On Fri 15 Feb 2013 06:52:33 AM CST, amit shah wrote: > I think the defect description was not clear pr

Re: [hibernate-dev] Backward compatibility with hibernate 4.1.9

2013-02-15 Thread Sanne Grinovero
Since it it's a different mayor release, such changes are expected. We always work hard to maintain backwards compatibility, but occasionally we need to make significant improvements which will break compatibility: Hibernate 4.x is significantly different than Hibernate 3.x and such changes are by

Re: [hibernate-dev] Backward compatibility with hibernate 4.1.9

2013-02-15 Thread Steve Ebersole
Exactly. You are relying, externally, on an internal detail of Hibernate. These are connections controlled by Hibernate. Plus, as Sanne already mentioned, you are talking about behavior across different major versions. pass it Connection.class. Or, yes, you can also pass it a more concre