[Mono-devel-list] OleDb || Gda# || Postgres

Met @ Uber met at uberstats.com
Mon Nov 3 17:53:50 EST 2003


On Mon, 2003-11-03 at 11:23, Rodrigo Moya wrote:
> On Mon, 2003-11-03 at 16:26, Met @ Uber wrote:
> > My head hurts, so I'm not sure if I'm following you...
> > 
> > I need to use OleDb (System.Data.OleDb) because sadly that's all that
> > OJB.NET
> >
> OJB? What is that?
> 
> >  supports ATM.  So in order to do this I need to use Gda# too? 
> > Or does the provided OleDb replace the direct use of Gda#?  I'm a little
> > lost, would you mind clarifying a bit?
> > 
> you can use either OleDb or GDA# or any of the other options Daniel
> mentioned in his mail. One or the other, not at the same time.
> 
> OleDb uses libgda as an implementation detail, which causes a bit of
> confusion, since you need to setup libgda before using it on OleDb.
> Also, we don't support yet OleDb connection strings :-( which means you
> need to use libgda nomenclature to connect to the database.
> 
> GDA#, on the other hand, is a C# binding for the libgda library, so if
> you use it, you will be using directly libgda and its nomenclature.
> 
> If you still want to use OleDb, that's fine also, use whatever is better
> for you. But if you are going to use it, please fix the connection
> string support I mentioned above :-) It seems an easy task (which I'm
> sorry for not having done before :-( and will allow users to use the
> same code in windows and in linux.
> 
> cheers
> 

So I've written a small C script to create my config file which worked
beautifully.  I then tried using my C# application once more, but I'm
getting the error "A null value was found where an object instance was
required".  So I looked at the code, and realized that it doesn't look
like OleDbConnection() should work at all?  Basically, I'm wondering how
anyone has gotten this to work to-date?  

Also I have pretty much finished the connectionString implementation,
but I don't have a _good_ way of testing it easily (make ... cp ...
etc), but I'll live.

~ Matthew Metnetsky




More information about the Mono-devel-list mailing list