cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Costes (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1297) ThrowOnPartialSchemaStrategy strategy generate a CayenneRuntimeException : Schema mismatch detected: no schema schemaname in db
Date Fri, 30 Oct 2009 14:48:59 GMT

    [ https://issues.apache.org/jira/browse/CAY-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771962#action_12771962
] 

Benoit Costes commented on CAY-1297:
------------------------------------

Ok.

Thank you!

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


Mime
View raw message