dcsimg
advise regarding creating a whole database using java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kiran_killedar
Posted On:   Monday, April 2, 2001 05:05 AM

hey guys,
Could u pls tell me .........
The problem is i need to creat a database in oracle using java programme but its very cumbersome to fire all the statements using java so if u have anything releated this pls let me know
on kiranrkilledar@rediffmail.com
thanks a lot.
-kiran

Re: advise regarding creating a whole database using java

Posted By:   Igor_Royzis  
Posted On:   Tuesday, April 3, 2001 09:46 AM

Wether you are using Java or not to create a database, first create all DDL scripts. This way you don't have to hard code SQL into your Java program. Then just load the scripts using an InputStream as needed into your program and execute the statements as you normally would via Statement's execute(String sql) method. This is the simplest way.
About | Sitemap | Contact