Hi Michael,
The code you have seems correct. So what happens when you run it?
Andrus
> Hello,
>
> I am attempting to set the connection information for my driver
> programatically. Is there a way to do this? I've tried something like
> this, to no avail:
>
> DataContext dc = DataContext.createDataContext();
> DataDomain qe = dc.getParentDataDomain();
> DataNode dn = qe.getNode("MyDataNode");
>
> java.sql.Driver d = new com.openbase.jdbc.ObDriver();
> DriverDataSource ds = new DriverDataSource(d,
> "jdbc:openbase://localhost/mydatabase",
> "admin",
> "password");
>
> dn.setDataSource(ds);
>
>
> I would appreciate any help.
>
> Thanks,
> Michael
This archive was generated by hypermail 2.0.0 : Mon Nov 01 2004 - 13:18:40 EST