add support for BIGINT UNSIGNED <--> java.math.BigInteger#3847
add support for BIGINT UNSIGNED <--> java.math.BigInteger#3847sougou merged 1 commit intovitessio:masterfrom
Conversation
Signed-off-by: tpetr <tpetr@hubspot.com>
|
Currently there are 3 way to use BigInteger. setBigDecimal("mysql_bigIntCol", new BigDecimal("1234567890")) Statement and PreparedStatement method does not allow any other way. The method you have added will only be accessible if you type cast them into VitessStatement or VitessPreparedStatement. Do you really need to add this or can you use the above way as workaround? Comments from Reviewable |
|
@harshit-gangal Apologies for the slow response. We need this because JDBI calls |
|
Reviewed 4 of 4 files at r1. Comments from Reviewable |
|
LGTM |
This PR adds support for
java.math.BigIntegerto the Vitess JDBC driver:BigIntegerparameters inVitessPreparedStatementsgetBigInteger()toVitessResultSetBigIntegerfor both classes.@harshit-gangal @acharis