db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: [jira] Commented: (DERBY-13) Quoted names with embedded period mishandled in from list
Date Fri, 03 Dec 2004 17:17:09 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jack Klebanoff wrote:
> Daniel John Debrunner wrote:
>
>> Jack Klebanoff wrote:
>>
>>
>> >Changing Derby to use a (schema, table) pair instead of a simple string
>> >for table names is a lot of work. A large number of files must be
>> changed.
>>
>>
>> But Derby doesn't use a simple string for a table name, it uses an
>> object called TableName, which correctly handles the schema, table name
>> and quoting. Only in this incorrect 'exposed' table name case is a
>> string used.
>>
>> Dan.
>
>
> TableName is a compiler object, and, as an extension of  QueryTreeNode,
> it is a fairly heavy duty object tied to a connection. Outside of the
> compiler transient data structures, and perhaps even some places inside
> them, we need other mechanisms to represent table names.

Ok, so you are talking about something beyond the scope of Derby-13,
which is a compile time issue. So I'm  not sure what problem you are
trying to solve as I thought that schema and table names were handled
correctly through the runtime code, in terms of SchemaDescriptor and
TableDescriptor objects.

Maybe you have some example where a table name with schema is only
represented by a String.

Dan.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBsJ+UIv0S4qsbfuQRApgRAJ9NQKbAlubCQz7fucM2GCl1fntXDQCfdIgy
yvYoOulYYcSAujBLCjvK45c=
=KHwm
-----END PGP SIGNATURE-----


Mime
View raw message