Inserting Image to DB using Java (Java Database Connectivity) JDBC#8

Опубликовано: 16 Июль 2019
на канале: Learn Code With Durgesh
68,093
1.1k

In this video we will learn how to save image to db using java program.
for large images using longblob or mediumblog , in this video i am using simple blob.
BLOB data type is a binary large object that can hold a variable length of data.A BLOB is typically used to store binary data and has four types:’

1. TINYBLOB
2. BLOB
3. MEDIUMBLOB
4. LONGBLOB

The main difference between all types is the length of the respective data can be saved.

To store a file in the database or in MySQL, Let’s create a table with the data type BLOB where the file can be stored using the following statement.As BLOB stands for Binary Large Object and its a binary-safe version of the TEXT type that means data is not readable text and will not be interpreted as readable text whereas it stored strictly binary data.


На этой странице сайта вы можете посмотреть видео онлайн Inserting Image to DB using Java (Java Database Connectivity) JDBC#8 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Learn Code With Durgesh 16 Июль 2019, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 68,093 раз и оно понравилось 1.1 тысяч зрителям. Приятного просмотра!