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 8545669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:50:45+00:00 2026-06-11T12:50:45+00:00

i have a problem,one of my client need a program that will connect to

  • 0

i have a problem,one of my client need

a program that will connect to oracle database server,and download/store the table to a local file(ex; microsoft access) like a conversion
after that client can input an excel file and it will be added to that local file

my client want the local file/database can be stored offline,inside program folder
They want the program do all the job so they only give me a user&pass to their database with some example of the tables and the excel that will be inputed from the client

and the program will do the rest download the tabel,convert,input,and the last it will print the data

i know that many tutorials come with the idea to connect / update oracle with java (with OLDBC-JDBC) or open&modify msaccess file(with excel conversion)

but to combine them all?how can you do this in java?

I already saw someone do this,but in VB6
and his code is a bit messy

FYI:
the data is a BIG one,its use about 600.000 rows
and it is updated once per month

  • 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-11T12:50:47+00:00Added an answer on June 11, 2026 at 12:50 pm

    An approach you might want to explore if the desired output is MS Access is Jackcess. One of the examples they give on their webpage is copying an external table into MS Access, and this is all the code you seem to need:

    Database.open(new File("my.mdb")).copyTable("Imported", resultSet);
    

    I don’t have first-hand experience with that library, but it looks quite nice.

    For Excel output I agree with Chris, POi is the way to go. However, there’s also a library called jXLS, it’s a layer on top of POI and it simplifies the creation of formatted XLS sheets a lot, check out this sample that converts a JDBC resultset (the result of you querying Oracle) into a nicely looking Excel file.

    EDIT: based on your comment on Chris’ answer, if actually all you get is the db coordinates and user and pass, you’ll have to:

    Step 1: get the table names using DatabaseMetaData, schematically like this:

    Connection c = DriverManager.getConnection (...);
    DatabaseMetaData md = c.getMetaData();
    ResultSet rs = md.getTables(null, null, "%", null);
    while (rs.next()) {
      System.out.println(rs.getString(3));
    }
    

    Step 2: iterate over the obtained list of tables and perform the table copy as shown above

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

Sidebar

Related Questions

I am engaging the following problems: I need to write a server program, will
I have an application that consists of two processes, one client process with a
I have a problem with displaying data from mysql database. My client requires to
I'm currently programming a Basic Client Server messaging program in C. The problem I
I'm trying to migrate django apps, and i have problem with one. When i
I have one problem with parsing *.docx document with OpenXML (C#). So, here's my
I have one problem with Javascript Nodes.I want to find out what button was
i have one problem with handling list,i have three class named as UserInf,userData,userProcess,i created
I have one problem , I want to get some data from XML file
I have one problem, I learn how work with socket and I write programm

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.