The Artima Developer Community
Sponsored Link

Java Answers Forum
To write Database tables into file

1 reply on 1 page. Most recent reply: Apr 14, 2004 11:25 PM by Matthias Neumair

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
CCAT

Posts: 1
Nickname: ccat
Registered: Apr, 2004

To write Database tables into file Posted: Apr 11, 2004 11:23 AM
Reply to this message Reply
Advertisement
Dear Sir ,

I am a Student doing a database project in java .

I have to know how to wite the Fields in a Database Table in to a file and viseversa.

I have to write all the records in the table in to a single file .

Need advidce ,information in this regard.

Thanking you


Matthias Neumair

Posts: 660
Nickname: neumi
Registered: Sep, 2003

Re: To write Database tables into file Posted: Apr 14, 2004 11:25 PM
Reply to this message Reply
You can use simple text output using a java.io.FileWriter
Create a file,write into it, close it.

What exactly is your problem?

The design of the file?

Creating a String representing a ResultSet or just a Value?

Flat View: This topic has 1 reply on 1 page
Topic: WebWork -  text tag Previous Topic   Next Topic Topic: HELP with depreciation method!!!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use