ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (IGNITE-377) Ignite shema-load utility use constant instead of constant value in generated xml.
Date Sat, 28 Feb 2015 17:21:05 GMT

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

Alexey Kuznetsov resolved IGNITE-377.
-------------------------------------
    Resolution: Fixed
      Assignee: Pavel Konstantinov  (was: Alexey Kuznetsov)

Please test in ignite-377 branch that Schema Load utility now generates XML file for databaseType
with constants like this:
{code}
<property name="databaseType">
    <util:constant static-field="java.sql.Types.INTEGER"/>
</property>
{code}

> Ignite shema-load utility use constant instead of constant value in generated xml.
> ----------------------------------------------------------------------------------
>
>                 Key: IGNITE-377
>                 URL: https://issues.apache.org/jira/browse/IGNITE-377
>             Project: Ignite
>          Issue Type: Improvement
>          Components: UI
>    Affects Versions: sprint-2
>            Reporter: Andrey Novikov
>            Assignee: Pavel Konstantinov
>             Fix For: sprint-2
>
>         Attachments: 0001-IGNITE-377-Rework-schema-load-XML-generator-to-gener.patch
>
>
> <bean class="org.apache.ignite.cache.CacheTypeFieldMetadata">
>    ...
>    <property name="databaseType" value="4"/>
>    ...
> </bean>
> replace with:
> <bean class="org.apache.ignite.cache.CacheTypeFieldMetadata">
>    ...
>     <property name="databaseType">
>         <util:constant static-field="java.sql.Types.INTEGER"/>
>     </property>   ...
> </bean>



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

Mime
View raw message