• Post Reply Bookmark Topic Watch Topic
  • New Topic

Create an oracle database using JDBC

 
Gustavo Alzate
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I need to know if, can i create an oracle databse using JDBC??.

everything i´ve seen indicates it isnt´t posible, i am using a tool called HENPLUS and i can run sql files, calling HENPLUS from my app, bu this one needs to know the sid name, but i am going to create.

Somebaody may help me???
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36020
427
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gustavo,
You could use Runtime.exec to create the database at the command line.
 
Gustavo Alzate
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks..

Now i wonder how?

Because my boss doesnt want that i use splplus what i can call it from Runtime.getRuntime.exec("sqlplus------");

also he doesnt want to call a bat or sh file.

it is posible?
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!