public interface SqlDatabaseReader
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the database connection.
|
java.sql.Connection |
connection()
Gets the underlying database connection.
|
void close()
throws java.sql.SQLException
The database is closed only if this object has been created by constructor using database file name.
close in interface java.lang.AutoCloseablejava.sql.SQLException - If the connection cannot be closed.java.sql.Connection connection()
Last updated 2025-10-02 14:26:25