Warning about BigInteger after switching to MySQL Connector J version 8.0.15 from 5.1.40


Page bloom
 
Edited

The following error says I should report this to the DataNucleus developers so just doing my duty :)


22:54:15.392 [main] WARN  DataNucleus.Datastore - Default type for java type of java.math.BigInteger was previously jdbc-type=NUMERIC but this is not provided by the JDBC driver! Please report this to the DataNucleus developers

I'm using DN 5.2.0-M3

This warning did not appear with MySQL Connector J 5.1.40.

I do have some classes with 'int' attributes - when creating the schema from scratch these map to bigint(20) - with both old and new connector versions.

I also have some discriminators defined as follows:

        <inheritance strategy="new-table">

            <discriminator strategy="value-map" indexed="true" value="86284453">

                <column name="classid" jdbc-type="INTEGER" />

            </discriminator>

        </inheritance>

and these are mapped to int(11) with both old and new connector versions.


It appears as though the schema generated is identical.