You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Andrus Adamchik (JIRA)" <ji...@apache.org> on 2009/10/29 11:26:59 UTC

[jira] Updated: (CAY-1297) ThrowOnPartialSchemaStrategy strategy generate a CayenneRuntimeException : Schema mismatch detected: no schema schemaname in db

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

Andrus Adamchik updated CAY-1297:
---------------------------------

    Priority: Minor  (was: Critical)
    Assignee: Andrus Adamchik

Thanks for the bug report. We'll take a look. Could you tell us what JDBC URL you are using to  connect (you can replace the actual names in it if this is confidential, but I'd like to see the format). And also do you have schema explicitly defined for the tables in the DataMap?

Thanks.

> ThrowOnPartialSchemaStrategy strategy generate a CayenneRuntimeException : Schema mismatch detected: no schema schemaname in db
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAY-1297
>                 URL: https://issues.apache.org/jira/browse/CAY-1297
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0M6
>         Environment: Windows XP, Cayenne 3.0M6, Eclipse Galileo, Mysql 5.1, Mysql connector for 5.1, jdk1.6.0_16
>            Reporter: Benoit Costes
>            Assignee: Andrus Adamchik
>            Priority: Minor
>
> I launch a test project in my eclise.
> When i try the ThrowOnPartialSchemaStrateg and the ThrowOnPartialOrCreateSchemaStrategy, a CayenneRuntimeException with the message "Schema mismatch detected: no schema schemaname in db" is thrown on the DataContext commitChange() method.
> I tried with a schema where the tables already exist and with another one where the tables don't exist and i have the same exception
> If i select the CreateIfNoSchemaStrategy or SkipSchemaUpdateStrategy strategy the program does not thrown Exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.