Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Directly run SQL Script file using JDBC

 
L Goundalkar
Ranch Hand
Posts: 395
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is there anyway I can run .sql script file ( which is present in my application directory ) directly using JDBC API on to Oracle Database without manually running the sql file in SQL * Plus tool.

Cheers.
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi LG,
Did you not search the other posts in this forum?
Did you not see this one:
http://www.coderanch.com/t/298527/JDBC/java/executing-PL-SQL-through-JDBC
Does it not help you?
Good Luck,
Avi.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic