Solved

how to read data from oracle and display it in a txt file using java?

Posted on 2004-04-13
2
167 Views
Last Modified: 2010-03-31
how to read data from oracle and display it in a txt file using java?


thanks for your help

regards
0
Comment
Question by:vihar123
  • 2
2 Comments
 
LVL 30

Expert Comment

by:Mayank S
ID: 10811727
What do you mean "display in a txt file"? Do you want to write it to a txt file or display it on the console?
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 100 total points
ID: 10811735
BTW, some examples here:

Getting data from a ResultSet - http://www.javaalmanac.com/egs/java.sql/GetRsData.html

Writing to a file - http://www.javaalmanac.com/egs/java.io/WriteToFile.html

Have a look at the "Related Examples" as well (for both).

JDBC tutorial - http://java.sun.com/docs/books/tutorial/jdbc/
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet  URL Rewriting 1 36
HashTable highest marks enumeration alternative 9 38
MySQL  on Tomcat 8 46
login jsp example 24 49
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question