After going through the previous develop’s trainwreck of code I realized I need to move all of the money based columns to not use floating point math. On the Java side this means using BigDecimal but when using Hibernate/JPA and MySQL 5 what would be the appropriate MySQL data type to make that column?
After going through the previous develop’s trainwreck of code I realized I need to
Share
DECIMAL and NUMERIC.
Have a look here for further details.