Switch driver class for H2 (fixes build?)

This commit is contained in:
dsyer
2009-12-19 21:11:03 +00:00
parent 41be879d55
commit 159a29216e
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ public class DatabaseTypeIntegrationTests {
@Test
public void testH2() throws Exception {
DataSource dataSource = DatabaseTypeTestUtils.getDataSource(org.h2.jdbc.JdbcConnection.class, "jdbc:h2:file:target/data/sample");
DataSource dataSource = DatabaseTypeTestUtils.getDataSource(org.h2.Driver.class, "jdbc:h2:file:target/data/sample");
assertEquals(DatabaseType.H2, DatabaseType.fromMetaData(dataSource));
dataSource.getConnection();
}

View File

@@ -1,6 +1,6 @@
# Placeholders batch.*
# for H2:
batch.jdbc.driver=org.h2.jdbc.JdbcConnection
batch.jdbc.driver=org.h2.Driver
batch.jdbc.url=jdbc:h2:file:target/data/h2
batch.jdbc.user=sa
batch.jdbc.password=