Switch driver class for H2 (fixes build?)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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=
|
||||
|
||||
Reference in New Issue
Block a user