On 27 Sep 2004 at 11:36, Rhino wrote: <snip>
> I really have no idea how Java is getting the information. I haven't tried > very many of the metadata methods yet so I don't know how much Java can > actually see and what is hidden. But I do know that it can see the > descriptions of the columns. > > I had assumed that Mark Matthews, the guy who develops the JDBC drivers, had > persuaded the other MySQL developers that the JDBC drivers *had* to be able > to see the metadata and got permission to do that well in advance of the > developers making the metadata available via the command line in the normal > way for SQL catalogs. But that was strictly a wild guess; you may be totally > correct in your assumptions. Hi, Maybe the Java driver is simply running this query: USE database; SHOW FIELDS FROM `tablename`; and caching the result? Regards Ian -- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]