This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
    Bookmark Topic Watch Topic
  • New Topic

Runtime.exec() and Sql Loader

 
Cathleen Meneses
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
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 ]
 
    Bookmark Topic Watch Topic
  • New Topic