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] [Updated] (IGNITE-377) Ignite shema-load utility use constant instead of constant value in generated xml.
Date Sat, 28 Feb 2015 17:00:06 GMT

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

Alexey Kuznetsov updated IGNITE-377:
------------------------------------
    Description: 
<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>

  was:
<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" value="java.sql.Types.INTEGER"/>
   ...
</bean>


> 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: Alexey Kuznetsov
>             Fix For: sprint-2
>
>
> <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