Hi Wolfgang,

> oDatasourceContext.registerObject (oDbName, dataSource)
> 
> (Normaly done using Tools >Options >OOoBase >Databases

oDS = oContext.createInstance()
oDS.<some_properties> = <some_values>
oDS.storeTo( <file_url> )
oContext.registerObject( "my new data source", oDS )

should be the way to go.

For the concrete property/values, I suggest using an existing database
as template. Out of my head, at least URL needs to be set to
"sdbc:embedded:hsqldb".

Ciao
Frank

-- 
- Frank Sch�nheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to