You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2016/11/28 09:03:59 UTC

[jira] [Created] (CAY-2156) Unable to create AUTO_PK_SUPPORT table with MySQL connection w/o selected DB

Nikita Timofeev created CAY-2156:
------------------------------------

             Summary: Unable to create AUTO_PK_SUPPORT table with MySQL connection w/o selected DB
                 Key: CAY-2156
                 URL: https://issues.apache.org/jira/browse/CAY-2156
             Project: Cayenne
          Issue Type: Bug
          Components: Modeler
    Affects Versions: 4.0.M4
            Reporter: Nikita Timofeev


It is possible to create MySQL connection w/o specifying database in the URL but in this case SQLException "No database selected" will be thrown when trying to create AUTO_PK_SUPPORT table as it's creation SQL is hardcoded without catalog/schema options.
This problems is pretty annoying in DB migration and generation tools in modeler.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)