Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XDatabaseEnvironment

Base Interface
com::sun::star::sdbc::XDriverManager

[ DEPRECATED ]
Description
specifies the root of the data access beans. It provides the possiblity to open a data access bean, which contains tables, queries, forms, and report documents, or to open a connection to a database.


Known Services which Export this Interface

com::sun::star::sdb::DatabaseEnvironment [ DEPRECATED ]

Methods' Summary

getDatabaseAccess returns an existing DatabaseAccess bean specified by it's URL.
createDatabaseAccess creates a new DatabaseAccess bean specified by it's URL.

Methods' Details

getDatabaseAccess
 
com::sun::star::sdb::XDatabaseAccess
getDatabaseAccess(
[ in ] string URL )
raises ( com::sun::star::sdbc::SQLException );

Description
returns an existing DatabaseAccess bean specified by it's URL.

Database Access beans are always shared, so if there's a second request for the same bean, the same instance of the bean will be returned, if it is still alive.

Parameter URL
a database url of the form sdbc:subprotocol:subname
Returns
the database access object for this url
createDatabaseAccess
 
com::sun::star::sdb::XDatabaseAccess
createDatabaseAccess(
[ in ] string URL,
[ in ] string title )
raises ( com::sun::star::sdbc::SQLException );

Description
creates a new DatabaseAccess bean specified by it's URL.
Parameter URL
a database url of the form sdbc:subprotocol:subname
Parameter title
the title of the database access
Returns
the new created database access object for this url

Top of Page