Home > Java > javaTutorial > Comparison table between Java data types and MySql data types

Comparison table between Java data types and MySql data types

高洛峰
Release: 2017-01-24 13:50:22
Original
1851 people have browsed it

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:

Comparison table between Java data types and MySql data types

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template