Re: [hibernate-dev] Hibernate support for JDBC drivers targeting multiple JVM versions

2018-03-13 Thread Bregler, Jonathan
@lists.jboss.org Subject: Re: [hibernate-dev] Hibernate support for JDBC drivers targeting multiple JVM versions Out of curiosity, do you have a link to this new java.sql.ShardingKey feature? Other than that, I agree with Sanne - multiple jars (with proper classifier once y'all publish your drivers) i

Re: [hibernate-dev] Hibernate support for JDBC drivers targeting multiple JVM versions

2018-03-13 Thread Steve Ebersole
March 12, 2018 4:45 PM > To: Bregler, Jonathan > Cc: hibernate-dev@lists.jboss.org > Subject: Re: [hibernate-dev] Hibernate support for JDBC drivers targeting > multiple JVM versions > > Hi Jonathan, > > personally this looks like an issue with the driver as class > in

Re: [hibernate-dev] Hibernate support for JDBC drivers targeting multiple JVM versions

2018-03-12 Thread Bregler, Jonathan
egler, Jonathan Cc: hibernate-dev@lists.jboss.org Subject: Re: [hibernate-dev] Hibernate support for JDBC drivers targeting multiple JVM versions Hi Jonathan, personally this looks like an issue with the driver as class initialization could be triggered by a number of things, it's going to

Re: [hibernate-dev] Hibernate support for JDBC drivers targeting multiple JVM versions

2018-03-12 Thread Sanne Grinovero
Hi Jonathan, personally this looks like an issue with the driver as class initialization could be triggered by a number of things, it's going to be hard to dodge them all, not least all containers and servers have their own peculiarities in how they load and wrap drivers and datasources; could you

[hibernate-dev] Hibernate support for JDBC drivers targeting multiple JVM versions

2018-03-12 Thread Bregler, Jonathan
Hi, in a recent version of the HANA JDBC driver the new JDBC 4.3 features that came with Java 9 have been implemented. The driver itself is still compiled for Java 7 (javac -target 1.7). So the driver should also be usable with a JVM 7 or 8. This works as expected until Java reflection is used