You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Veena Basavaraj (JIRA)" <ji...@apache.org> on 2014/10/23 03:02:34 UTC

[jira] [Updated] (SQOOP-1436) Sqoop2: Support custom form name via the Form Annotation

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

Veena Basavaraj updated SQOOP-1436:
-----------------------------------
    Affects Version/s: 1.99.4

> Sqoop2:  Support custom form name via the Form Annotation
> ---------------------------------------------------------
>
>                 Key: SQOOP-1436
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1436
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.4
>            Reporter: Abraham Elmahrek
>            Assignee: Veena Basavaraj
>              Labels: newbie
>             Fix For: 1.99.4
>
>         Attachments: SQOOP-1436.1.patch, SQOOP-1436.patch
>
>
> Form names and input names are currently derived from the configuration property name that they exist in (example 1). It would be nice if custom names could be provided so that the property names could remain simple.
> Example 1:
> The derived form name for the "table" property in the configuration object below is "table".
> {code}
> @ConfigurationClass
> public class FromJobConfiguration {
>   @Form public TableForm table;
>   ...
> }
> {code}
> Example 2:
> The form name for the "table" member in the the configuration object below is "from-table".
> {code}
> @ConfigurationClass
> public class FromJobConfiguration {
>   @Form(name="from-table")
>   public TableForm table;
>   ...
> }
> {code}



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