You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Benoit Costes (JIRA)" <ji...@apache.org> on 2009/10/29 12:14:59 UTC
[jira] Commented: (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=12771387#action_12771387 ]
Benoit Costes commented on CAY-1297:
------------------------------------
Here the JDBC URL : jdbc:mysql://localhost:3306/awn3?autoReconnect=true
And i have the same schema name in the DataMap => Entity Defaults => DB Schema
> 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.