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

[jira] Issue Comment Edited: (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:comment-tabpanel&focusedCommentId=12771453#action_12771453 ] 

Olga Tkachova edited comment on CAY-1297 at 10/29/09 4:22 PM:
--------------------------------------------------------------

I agree. I reproduced this bug. I look it now. 

  
> 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.