Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
0 Kudos

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



Checking the downloaded

A simple check for the downloaded file.



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



Checking the modified values by downloading the file

A simple check by the downloading the file.



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