File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Java sqlplus" Watch "Java sqlplus" New topic
Author

Java sqlplus

Fouad Fares
Ranch Hand

Joined: Apr 16, 2003
Posts: 38
Hi,

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Java sqlplus
 
Similar Threads
Executing shell script from java
sqlplus in shell script
Running .sql File in java
How to verify JDBC version using oracle thin driver
sqlplus problem in antinstaller