cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Savva Kolbachev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1994) Modeler Migration Tool Shows No Changes
Date Tue, 31 Mar 2015 13:57:53 GMT

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

Savva Kolbachev updated CAY-1994:
---------------------------------
    Fix Version/s: 4.0.M3

> Modeler Migration Tool Shows No Changes
> ---------------------------------------
>
>                 Key: CAY-1994
>                 URL: https://issues.apache.org/jira/browse/CAY-1994
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Modeler
>    Affects Versions: 4.0.M2
>         Environment: Windows 7 64-bit, Java 7 64-bit
>            Reporter: Peter Anders Hvass
>            Assignee: Savva Kolbachev
>             Fix For: 4.0.M3
>
>
> This would work flawlessly in 3.1 so I figured it best to report a bug given that it
blanks out on me in 4.0M2.
> Steps I use to produce this issue;
> 1. Open the modeler.
> 2. Load my project configuration.
> 3. Add a new db entity inside a data map.
> 3. Click on that data map.
> 4. Click Tools -> Migrate Database Schema
> 5. Select my test data source (a remote MySQL server);
> * Driver: com.mysql.jdbc.Driver
> * DB URL; jdbc:mysql://mydb.com/schema
> * User Name; username
> * Password; password
> * Adapter; org.apache.cayenne.dba.mysql.MySQLAdapter
> 6. Click Continue.. and wait..
> 7. Migration dialog window pops open
> 8. No changes are listed - just an empty list of results.
> My Cayenne config looks like this;
> {code:xml}
> <?xml version="1.0" encoding="utf-8"?>
> <domain project-version="7">
> 	<property name="cayenne.DataDomain.sharedCache" value="false"/>
> 	<property name="cayenne.DataRowStore.EventBridge.factory" value="org.apache.cayenne.event.JavaGroupsBridgeFactory"/>
> 	<property name="cayenne.JavaGroupsBridge.mcast.address" value="228.0.0.5"/>
> 	<property name="cayenne.JavaGroupsBridge.mcast.port" value="22222"/>
> 	<map name="db"/>
> 	<node name="test"
> 		 factory="org.apache.cayenne.configuration.server.XMLPoolingDataSourceFactory"
> 		 schema-update-strategy="org.apache.cayenne.access.dbsync.CreateIfNoSchemaStrategy"
> 		>
> 		<map-ref name="db"/>
> 		<data-source>
> 			<driver value="com.mysql.jdbc.Driver"/>
> 			<url value="jdbc:mysql://somedb/schema"/>
> 			<connectionPool min="1" max="5"/>
> 			<login userName="root" password="password"/>
> 		</data-source>
> 	</node>
> </domain>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message