JDBC Tutorial

JDBC - Handling CLOB and BLOB

Large Files Can be Stored in the Database and fetched back from Database.

  • CLOB
  •      Characher Large Objects, usually text documents, pdf files, docx files can be stored using CLOB Datatype. Database stores this type data in a column

  • BLOG
  •      Binary Large Objects, usually Image files,Media files like mp3, mp4,avi files can be represented usiing BLOB types.

JDBC API supports all these 2 types , which can be stored and fetched.