Oracle storage big data type (Clob/Blob)

Source: Internet
Author: User
Oracle itself supports various processing of big data types, but it is not commonly used. Among them, clob (generally used for access to large types of structured data) and blob (generally used in large categories)

Oracle itself supports various processing of big data types, but it is not commonly used. Among them, clob (generally used for access to large types of structured data) and blob (generally used in large categories)

Oracle itself supports various processing of big data types, but it is not commonly used, among which clob (usually used for access to large types of structured data) and blob (generally used for access to large binary types) I think it should be used less. So I wrote this blog post mainly to operate these two data types of files, such as saving these files into the database and reading these files to the local disk.

It was supposed to be the first thing I used to do. Unfortunately, my machine is running at 10 Gbps, which basically makes me burst into tears, so I was so lazy, -_-is omitted in the figure -_-!

Step 1: Create a java Project (why is it a java project, not a web project, mainly because it is easy to test and the effect is fast...) orclTest

Step 2: Create a database connection class. Here is com. test. InitDB. java. The Code is as follows:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.