Package org.eclipse.net4j.db
Interface IDBDatabase
- All Superinterfaces:
org.eclipse.net4j.util.collection.Closeable,org.eclipse.net4j.util.container.IContainer<IDBConnection>,IDBConnectionProvider,IDBConnectionProvider2,org.eclipse.net4j.util.event.INotifier,org.eclipse.net4j.util.security.IUserAware
public interface IDBDatabase
extends org.eclipse.net4j.util.container.IContainer<IDBConnection>, IDBConnectionProvider2, org.eclipse.net4j.util.collection.Closeable
- Since:
- 4.2
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceNested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
org.eclipse.net4j.util.container.IContainer.Modifiable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends Object>Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2 -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns a connection.Deprecated.As of 4.7 no longer supported in favor of support for multiple schema transactions.intopenSchemaTransaction(IDBConnection connection) voidsetStatementCacheCapacity(int statementCacheCapacity) voidupdateSchema(IDBDatabase.RunnableWithSchema runnable) Methods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosedMethods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmptyMethods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListenerMethods inherited from interface org.eclipse.net4j.util.security.IUserAware
getUserID
-
Field Details
-
DEFAULT_STATEMENT_CACHE_CAPACITY
static final int DEFAULT_STATEMENT_CACHE_CAPACITY- See Also:
-
-
Method Details
-
getAdapter
IDBAdapter getAdapter() -
getSchema
IDBSchema getSchema() -
openSchemaTransaction
IDBSchemaTransaction openSchemaTransaction() -
openSchemaTransaction
- Since:
- 4.7
-
getSchemaTransaction
Deprecated.As of 4.7 no longer supported in favor of support for multiple schema transactions. -
updateSchema
-
getConnection
IDBConnection getConnection()Description copied from interface:IDBConnectionProviderReturns a connection.- Specified by:
getConnectionin interfaceIDBConnectionProvider
-
getConnections
IDBConnection[] getConnections() -
getStatementCacheCapacity
int getStatementCacheCapacity() -
setStatementCacheCapacity
void setStatementCacheCapacity(int statementCacheCapacity)
-