"Bill Schneider" <[EMAIL PROTECTED]> writes:

>> I just introduced a property to specify the database type or adapter.
>> This used to be specified separately from the driver property and tying
>> them together has caused about as many questions as having the two
>> properties.  As you point out there is no way (or we have been unable to
>> find a way) to keep the mapping using datasources.
>
> I may have found a way--
> conn.getMetaData().getDatabaseProductName() returns String
>  - returns "Oracle" in Oracle
>  - returns "MySQL" in mysql
>  - returns "PostgreSQL" in postgresql
>
> the DatabaseMetaData object returned by conn.getMetaData() seems to return a
> bunch of other useful info too.

John, have any ideas on where to integrate this in?  It seems useful,
but I can't place it off hand.

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

Reply via email to