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.