Package com.anylogic.engine.database
- java.lang.Object
- com.anylogic.engine.database.DatabaseDescriptorRegistry
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class DatabaseDescriptorRegistry extends Object implements Closeable
Constructor | Description |
---|---|
DatabaseDescriptorRegistry() |
Modifier and Type | Method | Description |
---|---|---|
void | close() | |
Connection | getConnection |
public DatabaseDescriptorRegistry()
public Connection getConnection(DatabaseDescriptor dd) throws SQLException
- Throws:
SQLException
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException