Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

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

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


thanks for your help

regards
0
vihar123
Asked:
vihar123
  • 2
1 Solution
 
Mayank SAssociate Director - Product EngineeringCommented:
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
 
Mayank SAssociate Director - Product EngineeringCommented:
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now