public interface IDBDatabase extends IContainer<IDBConnection>, IDBConnectionProvider2, Closeable
Modifier and Type | Interface and Description |
---|---|
static interface |
IDBDatabase.RunnableWithSchema |
static interface |
IDBDatabase.SchemaChangedEvent |
IContainer.Modifiable<E>, IContainer.Persistable<E>, IContainer.Persistence<E>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_STATEMENT_CACHE_CAPACITY |
Modifier and Type | Method and Description |
---|---|
IDBAdapter |
getAdapter() |
IDBConnection |
getConnection()
Returns a connection.
|
IDBConnection[] |
getConnections() |
IDBSchema |
getSchema() |
IDBSchemaTransaction |
getSchemaTransaction()
Deprecated.
As of 4.7 no longer supported in favor of support for multiple schema transactions.
|
int |
getStatementCacheCapacity() |
IDBSchemaTransaction |
openSchemaTransaction() |
IDBSchemaTransaction |
openSchemaTransaction(IDBConnection connection) |
void |
setStatementCacheCapacity(int statementCacheCapacity) |
void |
updateSchema(IDBDatabase.RunnableWithSchema runnable) |
getElements, isEmpty
addListener, getListeners, hasListeners, removeListener
getUserID
static final int DEFAULT_STATEMENT_CACHE_CAPACITY
IDBAdapter getAdapter()
IDBSchema getSchema()
IDBSchemaTransaction openSchemaTransaction()
IDBSchemaTransaction openSchemaTransaction(IDBConnection connection)
@Deprecated IDBSchemaTransaction getSchemaTransaction()
void updateSchema(IDBDatabase.RunnableWithSchema runnable)
IDBConnection getConnection()
IDBConnectionProvider
getConnection
in interface IDBConnectionProvider
IDBConnection[] getConnections()
int getStatementCacheCapacity()
void setStatementCacheCapacity(int statementCacheCapacity)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html