Java mybatis converts oracle number types

there was a character type problem when using mybatisGenerator to map oracle database tables.
the fields represented by number (122.3) in oracle may be converted to bigDecimal , or to Short . In theory,
should all be bigDecimal ?
oracle (table is empty):

clipboard.png

java:

clipboard.png

uses the newer mybatisGenerator, in maven. I don"t know why.

Aug.23,2021

post out the generatorConfig.xml configuration file to see if there are special settings

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf7975-32096.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf7975-32096.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?