public interface DatabaseConnection extends SdxObject
SdxObject.ConfigurationNode| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_NAME_SUFFIX |
DEFAULT_ENCODING| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connectiokbn
|
void |
commit()
Commit all operation done with this active connection.
|
java.sql.Connection |
getConnection()
Returns the SQL connection
|
void |
optimize()
Can do optimization of a Repository if needed
|
void |
rollback()
Undo all operations done with this connection.
|
void |
setAutoCommit(boolean autoCommit)
Sets this connection in autocommit mode or not.
|
getId, setIdgetDescription, setDescriptiongetEncoding, setEncodinggetLocale, getXmlLang, setLocale, setXmlLangstatic final java.lang.String CLASS_NAME_SUFFIX
void commit()
throws SDXException
SDXExceptionvoid rollback()
throws SDXException
SDXExceptionvoid setAutoCommit(boolean autoCommit)
throws SDXException
autoCommit - true enables auto-commit ; false disables auto-commit.SDXExceptionvoid optimize()
throws SDXException
SDXExceptionjava.sql.Connection getConnection()
void close()
throws SDXException
SDXExceptionCopyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.