- public void start( ) throws Exception {
- Database lDatabase = (Database) _databaseClass.newInstance( );
- lDatabase.start( );
- System.out.println( "Database has been started. " );
- System.out.println( );
- System.out.println("=======================================================");
- System.out.println( "Connection details:" );
- // System.out.println( " Driver class: "
- // + lDatabase.getDriverClassName( ) );
- System.out.println( " JDBC URL: "
- + lDatabase.getExternalJdbcUrl( ) );
- System.out.println( " username: '" + lDatabase.getUsername( )
- + "'" );
- System.out.println( " password: '" + lDatabase.getPassword( )
- + "'" );
- System.out.println( "Interrupt the program to stop the database." );
- System.out.println("=======================================================");
- System.out.println("You must now populate the database with a schema. Use 'ant help' for information.");
- for ( ;; ) {
- Thread.sleep( 1000 );
+ public void start() throws Exception {
+ Database lDatabase = (Database) databaseClass.newInstance();
+ lDatabase.start();
+ System.out.println("Database has been started. ");
+ System.out.println();
+ System.out
+ .println("=======================================================");
+ System.out.println("Connection details:");
+ // System.out.println( " Driver class: "
+ // + lDatabase.getDriverClassName( ) );
+ System.out.println(" JDBC URL: " + lDatabase.getExternalJdbcUrl());
+ System.out.println(" username: '" + lDatabase.getUsername() + "'");
+ System.out.println(" password: '" + lDatabase.getPassword() + "'");
+ System.out.println("Interrupt the program to stop the database.");
+ System.out
+ .println("=======================================================");
+ System.out
+ .println("You must now populate the database with a schema. Use 'ant help' for information.");
+ for (;;) {
+ Thread.sleep(1000);