Hello MaxDB experts,
I’m looking for a MaxDb JDBC driver witch works with Java 17.
The JDBC driver with was included in Version maxdb_all_win_64bit_x86_64_7_9_10_09
Implementation-Version: 7.6.11 Build 000-000-012-035
Make-Version: 7.9.10 Build 009-123-271-264
In java 17 the implementation of DecimalFomat. setGroupingSize has changed.
It now checks the Value in case the Value is greater than 127 it throw an IllegalArgumentException( "newValue is out of valid range. value: " + newValue);
Trace:
Caused by: java.lang.IllegalArgumentException: newValue is out of valid range. value: 2147483647
at java.base/java.text.DecimalFormat.setGroupingSize(DecimalFormat.java:2801)
at deployment.maxdb_7_6//com.sap.dbtech.jdbc.translators.NumericTranslator.getDoubleInputFormat(NumericTranslator.java:53)
at deployment.maxdb_7_6//com.sap.dbtech.jdbc.translators.NumericTranslator.getDoubleInputFormatInstance(NumericTranslator.java:66)
at deployment.maxdb_7_6//com.sap.dbtech.jdbc.translators.NumericTranslator.formatDoubleInput(NumericTranslator.java:73)
at deployment.maxdb_7_6//com.sap.dbtech.jdbc.translators.NumericTranslator.transDoubleForInput(NumericTranslator.java:374)
at deployment.maxdb_7_6//com.sap.dbtech.jdbc.CallableStatementSapDB.setDouble(CallableStatementSapDB.java:2041)
at deployment.maxdb_7_6//com.sap.dbtech.jdbc.trace.PreparedStatement.setDouble(PreparedStatement.java:89)
at org.jboss.ironjacamar.jdbcadapters@1.5.9.Final//org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.setDouble(WrappedPreparedStatement.java:317)
... 315 more
Would it be possible to get a JDBC driver jar that is compatible with Java 17?
Thanks and BR
Hermann