aspose file tools *
The moose likes Java in General and the fly likes Runtime.exec() and Sql Loader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Runtime.exec() and Sql Loader

Cathleen Meneses
Greenhorn

Joined: Mar 16, 2004
Posts: 21
Hi!
I am writing a Java application running on windows. the primary thing that the program does is to parse data and write it in a text file , connect to the database and insert the text file to the table by means of an sql loader...
the database that i am connecting on is running on a solaris =)
anybody know how to do this by using the Runtime.exec()? many thanks!! any help is greatly appreciated!! =)

Sample Values:
CASA.CTL -> my sql loader
oracle.jdbc.driver.OracleDriver -> my driver
jdbc racle:thin:@172.16.15.240:1521:ABCDE my url
bdoabcd -> my username
password -> my password
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Please don't post the same question in multiple forums, it creates duplicate conversations and wastes the time of the people trying to help you. The duplicate thread is here, I'm going to ask for this copy to be closed.

Dave
[ January 16, 2005: Message edited by: David O'Meara ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Runtime.exec() and Sql Loader