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 SummaryNested Classes Modifier and Type Interface Description static interfaceIDBDatabase.RunnableWithSchemastatic interfaceIDBDatabase.SchemaChangedEvent- 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainerorg.eclipse.net4j.util.container.IContainer.Modifiable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistable<E extends java.lang.Object>, org.eclipse.net4j.util.container.IContainer.Persistence<E extends java.lang.Object>
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_STATEMENT_CACHE_CAPACITY
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IDBAdaptergetAdapter()IDBConnectiongetConnection()Returns a connection.IDBConnection[]getConnections()IDBSchemagetSchema()IDBSchemaTransactiongetSchemaTransaction()Deprecated.As of 4.7 no longer supported in favor of support for multiple schema transactions.intgetStatementCacheCapacity()IDBSchemaTransactionopenSchemaTransaction()IDBSchemaTransactionopenSchemaTransaction(IDBConnection connection)voidsetStatementCacheCapacity(int statementCacheCapacity)voidupdateSchema(IDBDatabase.RunnableWithSchema runnable)
 
- 
- 
- 
Field Detail- 
DEFAULT_STATEMENT_CACHE_CAPACITYstatic final int DEFAULT_STATEMENT_CACHE_CAPACITY - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getAdapterIDBAdapter getAdapter() 
 - 
getSchemaIDBSchema getSchema() 
 - 
openSchemaTransactionIDBSchemaTransaction openSchemaTransaction() 
 - 
openSchemaTransactionIDBSchemaTransaction openSchemaTransaction(IDBConnection connection) - Since:
- 4.7
 
 - 
getSchemaTransaction@Deprecated IDBSchemaTransaction getSchemaTransaction() Deprecated.As of 4.7 no longer supported in favor of support for multiple schema transactions.
 - 
updateSchemavoid updateSchema(IDBDatabase.RunnableWithSchema runnable) 
 - 
getConnectionIDBConnection getConnection() Description copied from interface:IDBConnectionProviderReturns a connection.- Specified by:
- getConnectionin interface- IDBConnectionProvider
 
 - 
getConnectionsIDBConnection[] getConnections() 
 - 
getStatementCacheCapacityint getStatementCacheCapacity() 
 - 
setStatementCacheCapacityvoid setStatementCacheCapacity(int statementCacheCapacity) 
 
- 
 
-