This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Java sqlplus Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Java sqlplus" Watch "Java sqlplus" New topic

Java sqlplus

Fouad Fares
Ranch Hand

Joined: Apr 16, 2003
Posts: 38

I have a java class the runs under UNIX.
I am calling the runtime to execute the following command:
(sqlplus @sqluser @/home/test.sql)

the test.sql ask for parameters, but i am not able to send the parameters

Can you please provide me with a solution knowing that I may call other sql files that need different parameters.
I agree. Here's the link:
subject: Java sqlplus
Similar Threads
Executing shell script from java
How to verify JDBC version using oracle thin driver
sqlplus problem in antinstaller
Running .sql File in java
sqlplus in shell script