JDBC Tutorials - Herong's Tutorial Examples - Version 3.02, by Dr. Herong Yang
Overview of BLOB (Binary Large Object)
This section describes what are BLOB (Binary Large Object) data types and how to work with them.
BLOB (Binary Large Object) is a large collection of binary data stored in a database table. Different database servers handles BLOB differently. But there are some common characteristics like:
JDBC offers an interface, java.sql.Blob, to allow JDBC driver to provide generic functionalities to handle BLOB data in the database.
BLOB data can also be handled as byte arrays: byte.
BLOB data can also be handled as binary streams with the java.io.InputStream class.The data type and definition was introduced to describe data not originally defined in traditional computer database systems
Last update: 2015.
Table of Contents