public class EADatabase extends Object
| Constructor and Description |
|---|
EADatabase() |
| Modifier and Type | Method and Description |
|---|---|
static void |
close(Connection connection)
Closes a database connection.
|
static Connection |
connect(String endpoint,
boolean isTarget)
Create a new database connection to a given EAP/DSN.
|
public static final Connection connect(String endpoint, boolean isTarget) throws EAModelTransferException
endpoint - Endpoint. Can be an EAP file or a DSN specification.Connection to the given database.EAModelTransferException - Generic handled exception.public static final void close(Connection connection) throws EAModelTransferException
connection - Existing JDBC connection.EAModelTransferException - Generic handled exception.Copyright © 2019. All rights reserved.