service DatabaseAccess in module com::sun::star::sdb::

(Global Index)

Syntax

service DatabaseAccess;

Description

specifies a component, which controls DatabaseAccessConnections and acts like a shared DataSource.

Exported Interfaces

com::sun::star::beans::XPropertySet

Description

provides information about and access to the properties from an implementation.


com::sun::star::sdb::XDatabaseAccess

Description

controls the establishing of the connections.


com::sun::star::sdb::XCompletedConnection [ OPTIONAL ]

Description

establishing a connection with user interaction, the implementation is optional.


Property Summary

URL is the URL of the bean.

Title is the title of the bean.

ConnectURL indicates a database url of the form
jdbc: subprotocol : subname or sdbc: subprotocol : subname

ConnectInfo is a list of arbitrary string tag/value pairs as connection arguments; normally at least a "user" and "password" property should be included.

IsReadOnly determines whether modifications on the data access bean are allowed or not.

NumberFormatsSupplier provides an object for formatting numbers.

IsPasswordRequired indicates that a password is always necessary. @optional

TableFilter defines a list of tables, on which the bean should have it's focus. If empty, all tables are rejected.

TableTypeFilter defines a list of table types, on which the bean should have it's focus. If empty, all tables types are rejected.

Property Details



URL

Syntax

[readonly] string URL;

Description

is the URL of the bean.


Title

Syntax

string Title;

Description

is the title of the bean.


ConnectURL

Syntax

string ConnectURL;

Description

indicates a database url of the form
jdbc: subprotocol : subname or sdbc: subprotocol : subname


ConnectInfo

Syntax

sequence< com::sun::star::beans::PropertyValue > ConnectInfo;

Description

is a list of arbitrary string tag/value pairs as connection arguments; normally at least a "user" and "password" property should be included.


IsReadOnly

Syntax

[readonly] boolean IsReadOnly;

Description

determines whether modifications on the data access bean are allowed or not.


NumberFormatsSupplier

Syntax

com::sun::star::util::XNumberFormatsSupplier NumberFormatsSupplier;

Description

provides an object for formatting numbers.


IsPasswordRequired [ O P T I O N A L ]

Syntax

boolean IsPasswordRequired;

Description

indicates that a password is always necessary. @optional


TableFilter [ O P T I O N A L ]

Syntax

sequence< string > TableFilter;

Description

defines a list of tables, on which the bean should have it's focus. If empty, all tables are rejected.


TableTypeFilter [ O P T I O N A L ]

Syntax

sequence< string > TableTypeFilter;

Description

defines a list of table types, on which the bean should have it's focus. If empty, all tables types are rejected.

Top of Page