mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 09:44:21 +01:00
Add java.sql.Driver to automatically detect JDBC
This commit is contained in:
@@ -26,8 +26,8 @@ class JDBCTest {
|
||||
|
||||
@Test
|
||||
void connection_can_be_retrieved_from_DriverManager() throws SQLException {
|
||||
JDBC jdbc = new JDBC();
|
||||
Connection connection = DriverManager.getConnection("jdbc:limbo:sample.db");
|
||||
assertThat(connection).isNotNull();
|
||||
try (Connection connection = DriverManager.getConnection("jdbc:limbo:sample.db")) {
|
||||
assertThat(connection).isNotNull();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user