Subject | Re: [Firebird-Architect] RFC: Cross database queries |
---|---|
Author | Roman Rokytskyy |
Post date | 2007-08-09T19:54:42Z |
>> The Java O/R mappers are quite sophisticated, it is far beyond simpleI did not say that we must handle external tables via JDBC the same way
>> object per table mapping. And they allow quite sophisticated OQL queries
>> which can affect many tables/schemas.
>
> And many different servers through the one connection ? Ok, it is far
> from perfect from performance POV, but if you said they realy do it i can
> only agree with you...
>
> You see - i can change my minds :)
as we treat internal ones.
I said that more or less intelligent Java code relies on
DatabaseMetaData interface to provide information about every accessible
thing in the database. And, _if_ we want to provide developers a
possibility to use external tables using O/R mappers or other tools,
_then_ the external tables must be visible via DatabaseMetaData. And on
that level we have "catalog", "schema" and "table" concepts.
>>> Anyway. If driver queried system tables defined by standard (informationSince I did not check the SQL standard on this regard, I can't comment.
>>> schema is standardized, AFAIK) and database implements it - then i see no
>>> problem. The problem is to support standard's information schema.
>>>
>>> (My humble opinion is that this issue have a lowest priority)
>> Sorry, I do not understand you here - what has lowest priority:
>> supporting standard information schema (are we talking about SQL
>> standard, btw?) or providing access to external tables through JDBC?
>
> Support standard's monstrous information schema
But my guess would be that our system tables are not standard compliant
anyway (and Oracle's as well), so for the moment we can go our path.
Roman