Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8425163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:11:47+00:00 2026-06-10T04:11:47+00:00

Can someone teach me how to export tables with BLOB to CSV using java?

  • 0

Can someone teach me how to export tables with BLOB to CSV using java? And I would later import them. Some concepts regarding this matter will do and some code to help explain things.
Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T04:11:48+00:00Added an answer on June 10, 2026 at 4:11 am

    If it were me I would just encode the binary data and then write it out as you would any other field. Apache Commons has great API for this. I would use the Base32 or Base64 binary encoder based on your needs. This may be termed URL-Encoding but I’m not 100% sure…the concept is still the same, you are still just taking binary data and encoding it as a string:

    byte[] myBlobData = \\ Retrieve from database
    Base32 encoder = new Base32();
    String encodedData = encoder.encodeToString(myBlobData);
    // Write out data as you normally would for a CSV file
    

    And then to read it back in just do the reverse:

    String encodedData = \\ Read from file
    byte[] myBlobData = encoder.decode(encodedData);
    

    I think this will work well for you. URL encoding (or similar encodings) work well for this since they are designed to allow binary data to be safely transmitted as strings. If you’d rather not use the Apache Commons library you might be able to get by using Java’s URLEncoder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can someone please teach me how to create C# code that would allow my
Can someone teach me how can I find out if bluetooth is connected to
I was reading about pixel per foot but can someone teach how can i
Can someone please explain why ?___SID=U is appearing in some Magento URLs on my
Can someone teach me or give me a link for my problem? I wanted
Can someone convert this query to linq2sql for me? Trying to teach myself linq
If there is someone here from the Django world that can teach the best
Can someone thoroughly explain the last line of the following code: def myMethod(self): #
Can someone please tell me what this means: 07-04 09:54:38.048: I/DetailActivity(15496): Title that is
Can someone please explain how Read/Show works.. I cannot find any tutorials on it.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.