Created
September 24, 2011 09:24
-
-
Save langmi/1239150 to your computer and use it in GitHub Desktop.
Setup HSQLDB Datasource
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class JdbcPagingItemReaderTests { | |
private BasicDataSource dataSource; | |
public void setUp() throws Exception { | |
// DataSource Setup, apache commons | |
dataSource = new BasicDataSource(); | |
dataSource.setDriverClassName("org.hsqldb.jdbcDriver"); | |
dataSource.setUrl("jdbc:hsqldb:mem:testdb"); | |
dataSource.setUsername("sa"); | |
dataSource.setPassword(""); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment