On Dec 3, 2004, at 9:17 AM, Daniel John Debrunner wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jack Klebanoff wrote:Daniel John Debrunner wrote:
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.
I ran into a bug (DERBY-62) when attempting to delete nonexistent table from a remote client derby would produce an exception that held on to a TableName object. When I attempt to send the exception back to the remote client, I get an exception due to TableName not being serializable. In this case, "a table name with schema is only represented by a String" would be nice :)
-dain
