Methods' Details |
hasConnections
boolean |
hasConnections(); |
- Description
- indicates that connections already exist.
- Returns
- true if so
|
|
getIsolatedConnection
- Description
- attempts to establish a database connection, that can not be shared with
other components. This should be used for transaction processing.
- Parameter user
- the user name
- Parameter password
- the password
- Returns
- an isolated connection object
- Throws
- com::sun::star::sdbc::SQLException
if a database access error occurs.
|
|
suspendConnections
- Description
- closes the all connections to database. This request could be aborted by
listeners of the component.
- Throws
- com::sun::star::sdbc::SQLException
if a database access error occurs.
|
|
addDatabaseAccessListener
- Description
- adds the specified listener to receive the events "connectionChanged",
"approveConnectionClose", and "connectionClosing".
- Parameter listener
- the listener to append
|
|
removeDatabaseAccessListener
- Description
- removes the specified listener.
- Parameter listener
- the listener to append
|
|
Copyright © 2010 Sun Microsystems, Inc.