[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DBCP] PStmtKey with SQL and catalog but not schema.

On 20/06/18 01:43, Gary Gregory wrote:
> The PStmtKey class keys off of a SQL statement, catalog but not the schema.
> Since a catalog is usually a collection of schema, shouldn't we use the
> schema as part of this key?

If only the relationship was that simple. And consistent across vendors.

There is a good summary here on SO:

> (Java 7 added supported for getSchema() on a Connection.)

Assuming that the SO information is correct (I have no reason to think
otherwise apart from cynicism) then including the schema in the key
makes sense to me.


To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx