DataSource getFastDataSource ( HsqlDatabaseDescriptor hsqlDatabase ) { BasicDataSource bds = new BasicDataSource ( ) ; bds . setDriverClassName ( hsqlDatabase . getDriverClassName ( ) ) ; bds . setUsername ( hsqlDatabase . getUsername ( ) ) ; bds . setPassword ( hsqlDatabase . getPassword ( ) ) ; bds . setUrl ( hsqlDatabase . getUrl ( ) ) ; return bds ; }
Return a quick datasource for the given hsqldatabase .