ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | November 2004 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [enhydra] Postgres driver kills MySQL communication


V Po, 25. 10. 2004 v 20:49, Sinisa Milosevic píše:
> Currently DODS reads configuration from file and sets static values for oid
> and version columns in CoreDataStruct. So last configured application
> defines oid and version column names. If PostgreSQL database is the last and
> it defines objectid as a oid column name, so your MySQL application deosn't
> work.
> That's  an 'old Enhydra-DODS feature' (difference is that in earlier version
> static fields was in CoreDO). Dirty solution will be using objectid as a oid
> column name for MySQl applications. Also we will add this problem on our
> task list.

Sinisa,

If I understand it correctly then MySQL doesn't care what is the oid
column name while PostgreSql requires it named as "objectid". If there
is no other database that would have such requirement then I'd suggest
to simply modify the DODS to generate the oid column name as "objectid"
for all databases.

BTW, why do you call this solution a dirty one? Do you have a clearer
one in mind?

And last one: any idea why multiserver wrapper wants to load the
dods-runtime? Seems like DODS is not completely separated from rest of
Enhydra yet? (see the stack trace in previous mail).

Petr





<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.