T - class typepublic interface DBConnection<T>
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
void |
closeDBConnection() |
void |
commit() |
long |
getCacheSize() |
DatabaseConfigVO |
getDatabaseConfig() |
DataSource |
getDataSource() |
T |
getSession() |
String |
getType() |
boolean |
isOptimizedForBatchProcessing() |
boolean |
isSessionAlive() |
boolean |
isTransActionAlive() |
<E extends ReloadableEntity> |
reloadEntity(E entity)
Reload a DSpace object from the database.
|
void |
rollback() |
void |
setOptimizedForBatchProcessing(boolean batchOptimized) |
void |
shutdown() |
T getSession() throws SQLException
SQLExceptionboolean isTransActionAlive()
boolean isSessionAlive()
void rollback()
throws SQLException
SQLExceptionvoid closeDBConnection()
throws SQLException
SQLExceptionvoid commit()
throws SQLException
SQLExceptionvoid shutdown()
String getType()
DataSource getDataSource()
DatabaseConfigVO getDatabaseConfig() throws SQLException
SQLExceptionvoid clearCache()
throws SQLException
SQLExceptionvoid setOptimizedForBatchProcessing(boolean batchOptimized)
throws SQLException
SQLExceptionboolean isOptimizedForBatchProcessing()
long getCacheSize()
throws SQLException
SQLException<E extends ReloadableEntity> E reloadEntity(E entity) throws SQLException
entity - The DSpace object to reloadSQLExceptionCopyright © 2016 DuraSpace. All rights reserved.