You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2015/02/28 18:21:05 UTC
[jira] [Resolved] (IGNITE-377) Ignite shema-load utility use
constant instead of constant value in generated xml.
[ 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)