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 Tkacheva (Updated) (JIRA)" <ji...@apache.org> on 2012/01/27 10:04:41 UTC
[jira] [Updated] (CAY-1656) cayenne generate extra data in xml
model when change dataNode factory
[ https://issues.apache.org/jira/browse/CAY-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Tkacheva updated CAY-1656:
-------------------------------
Summary: cayenne generate extra data in xml model when change dataNode factory (was: extra data in xml model)
> cayenne generate extra data in xml model when change dataNode factory
> ---------------------------------------------------------------------
>
> Key: CAY-1656
> URL: https://issues.apache.org/jira/browse/CAY-1656
> Project: Cayenne
> Issue Type: Bug
> Affects Versions: 3.1M3
> Reporter: Olga Tkacheva
> Assignee: Olga Tkacheva
> Priority: Minor
>
> when change some time node factory we will get extra data (dates for 2 factory)
> for example:
> <node name="db"
> factory="org.apache.cayenne.configuration.server.JNDIDataSourceFactory"
> parameters="jdbc/contentdb"
> schema-update-strategy="org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy"
> >
>
> <data-source>
> <driver value="org.apache.derby.jdbc.EmbeddedDriver"/>
> <url value="jdbc:derby:/Users/andrus/work/com.objectstyle/site_v2_custom/db/derby;create=true"/>
> <connectionPool min="1" max="1"/>
> <login/>
> </data-source>
> </node>
> here we need only parameters="jdbc/contentdb" (because factory="org.apache.cayenne.configuration.server.JNDIDataSourceFactory") and don't need <data-source> block
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira