Skip to Content

How to upload text files into MaxDB Database instances using Java? – Part 2

In my previous blog How to upload text files into MaxDB Database instances using Java? – Part 1 the simple steps to upload a text file to MaxDB Database server was discussed. In this weblog the remaining half of the operations such as download and modify have been discussed.

Downloading files from MaxDB Database

Then a java program that performs the file download is given below. The file names have been hard coded here for testing purpose. You can modify them as per your need.

JDBC Program to download file

Executing Queries and Result

image

Checking the downloaded

A simple check for the downloaded file.

image

Modifying the file contents in MaxDB Database

The modification of the data can be performed using the below given program.

JDBC Program to modify file

Executing Queries and Result

image

Checking the modified values by downloading the file

A simple check by the downloading the file.

image

This is a very simple weblog. Hope this was useful to you.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply