cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg S (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1650) [PATCH] Verify existence of tables if a default schema is specified
Date Mon, 09 Jan 2012 11:32:39 GMT

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

Joerg S updated CAY-1650:
-------------------------

    Attachment: SchemaAnalyzer.java.patch
    
> [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 S
>            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