DriverManagerDataSource implementation is a basic implementation for DataSources in spring framewok.
Following line of code will do the job this is similar to a JDBC call.
DriverManagerDataSource dataSource = new DriverManagerDataSource();
dataSource.setDriverClassName("org.hsqldb.jdbcDriver");
dataSource.setUrl("jdbc:hsqldb:hsql://localhost:");
dataSource.setUsername("sa");
dataSource.setPassword("");