OdaDataSourceHandle handle = (OdaDataSourceHandle) dataSourceHandle;  String userName = handle.getPrivateDriverProperty("ODA:user"); String passWord = handle.getPrivateDriverProperty( "ODA:password" ); String url = handle.getPrivateDriverProperty( "ODA:url" ); String driver = handle.getPrivateDriverProperty( "ODA:driver-class" );  jdbcConnection = connect( userName, passWord, url, driver, handle.getDriverName( ) );
try { jdbcConnection = DriverLoader.getConnection( driverClass, additionalClassPath, url, userName, password ); if ( jdbcConnection == null ) { MessageDialog.openError( PlatformUI.getWorkbench( ) .getDisplay( ) .getActiveShell( ), JdbcPlugin.getResourceString("connection.test"), JdbcPlugin.getResourceString("connection.failed")); } else { this.driverClass = driverClass; this.url = url; this.userName = userName; this.password = password; } } catch ( SQLException e ) { ExceptionHandler.handle( e ); }  }
	public Connection connect(DataSourceHandle dataSourceHandle)	{						OdaDataSourceHandle handle = (OdaDataSourceHandle) dataSourceHandle;			String userName = handle.getPrivateDriverProperty("ODA:user");//$NON-NLS-1$		String passWord = handle.getPrivateDriverProperty( "ODA:password" );//$NON-NLS-1$		String url = handle.getPrivateDriverProperty( "ODA:url" );//$NON-NLS-1$		String driver = handle.getPrivateDriverProperty( "ODA:driver-class" );//$NON-NLS-1$				jdbcConnection = connect( userName,				passWord,				url,				driver,				handle.getDriverName( ) ); 				return jdbcConnection;	}