cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Tkacheva (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-1650) [PATCH] Verify existence of tables if a default schema is specified
Date Tue, 06 Mar 2012 15:01:58 GMT

     [ https://issues.apache.org/jira/browse/CAY-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olga Tkacheva closed CAY-1650.
------------------------------

    Resolution: Fixed

tested on derby, postgres - this patch work for both and I hope for other too. Joerg, thank
you for your help. 
                
> [PATCH] Verify existence of tables if a default schema is specified
> -------------------------------------------------------------------
>
>                 Key: CAY-1650
>                 URL: https://issues.apache.org/jira/browse/CAY-1650
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.1M4
>            Reporter: Joerg Schoenfisch
>            Priority: Minor
>         Attachments: SchemaAnalyzer.java.patch
>
>
> I'm using a ThrowOnPartialOrCreateSchemaStrategy and I ran into the problem that my tables
are not generated if I specify a schema for the DbEntities. SchemaAnalyzer.compareTables only
checks if the schema exists and doesn't verify if it actually contains any tables. I'm using
the latest trunk (rev 1222604) and Postgres 8.3. The following patch fixes the problem for
me.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message