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, setId
getDescription, setDescription
getEncoding, setEncoding
getLocale, getXmlLang, setLocale, setXmlLang
static final java.lang.String CLASS_NAME_SUFFIX
void commit() throws SDXException
SDXException
void rollback() throws SDXException
SDXException
void setAutoCommit(boolean autoCommit) throws SDXException
autoCommit
- true enables auto-commit ; false disables auto-commit.SDXException
void optimize() throws SDXException
SDXException
java.sql.Connection getConnection()
void close() throws SDXException
SDXException
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.