cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tore Halset <hal...@pvv.ntnu.no>
Subject Re: DbMerger/MySQL compatibility
Date Thu, 28 Aug 2008 19:19:21 GMT

On Aug 28, 2008, at 21:03, Scott Anderson wrote:

>> Is it possible to detect this via jdbc?
>
> A rather long-winded way to detect table type is:
> SHOW CREATE TABLE [table name];
>
> This will return the full CREATE TABLE instruction required to rebuild
> that table. If this is already how you determine what the fields look
> like, it should be trivial to add logic to parse the ENGINE parameter.

Currently, I use jdbc metadata only.

  - Tore.

Mime
View raw message