Re: autoPkTableExists() is flaky w/MSAccess

From: Tore Halset (halse..vv.ntnu.no)
Date: Tue May 23 2006 - 12:00:04 EDT

  • Next message: Øyvind Harboe: "Re: autoPkTableExists() is flaky w/MSAccess"

    On May 23, 2006, at 10:34, Øyvind Harboe wrote:

    > As far as I can tell JdbcPkGenerator.autoPkTableExists() is flaky
    > w/MSAccess.
    >
    > This is a problem when I try to run the JUnit tests as it leads to
    > exceptions when JdbcPkGenerator.createAutoPk() tries to create the
    > AUTO_PK_SUPPORT table when the table already exists.
    >
    > It is almost as if the md.getTables(null, null, "AUTO_PK_SUPPORT",
    > null)
    > returns stale information.

    If getTables() does not work, perhaps you could issue a "select *
    from AUTO_PK_SUPPORT" in your own PkGenerator and look for
    SQLExceptions?

      - Tore.



    This archive was generated by hypermail 2.0.0 : Tue May 23 2006 - 12:01:44 EDT