aspose file tools
The moose likes Java in General and the fly likes Putting records into the database with a java application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Putting records into the database with a java application

seyi fakoya
Greenhorn

Joined: Sep 08, 2007
Posts: 3
Hello,

I need your help, i need the actual code to create an application that
reads a file of values of different fields with any delimiter
and sends all the values to the required fields in the database

Example a bible database has three columns
chapter, verse and message
a file in this format
genesis, 1, In the beginning God created the heaven and the earth.
genesis, 2, And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.

the application should read the file like this and send the values to the corresponding field in the database
please i need your help urgently
thanks.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What parts do you have problems with? Do you know how to read files? Do you know how to talk to a database?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56168
    
  13

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: Putting records into the database with a java application
 
Similar Threads
URLyBird 1.3.2 : Configuration Doubt
I will fight for .....
no war
Read an Alternative Genesis
Putting records into the database with a java/jsp application