This article describes the comparison table between Java data types and MySql data types. Share it with everyone for your reference, the details are as follows:
For bolb, it is generally used for database storage of images. The principle is to convert the image into binary and then process it. Storage method, corresponding to byte[] array in Java.
For the boolen type, in the MySQL database, I personally think it is better to use the int type instead, which is not very convenient for bit operations, especially in projects with web page development, it means 0/1, corresponding to the java type Integer is better.
I hope this article will be helpful to everyone in MySQL database planning.
For more articles related to the comparison table between Java data types and MySql data types, please pay attention to the PHP Chinese website!